<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GstVideo: GStreamer Base Plugins 1.0 Library Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="GStreamer Base Plugins 1.0 Library Reference Manual">
<link rel="up" href="gstreamer-video.html" title="Video Library">
<link rel="prev" href="gstreamer-video.html" title="Video Library">
<link rel="next" href="gst-plugins-base-libs-GstMeta-for-video.html" title="GstMeta for video">
<meta name="generator" content="GTK-Doc V1.28 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description">  <span class="dim">|</span> 
                  <a href="#gst-plugins-base-libs-GstVideo.description" class="shortcut">Description</a></span><span id="nav_hierarchy">  <span class="dim">|</span> 
                  <a href="#gst-plugins-base-libs-GstVideo.object-hierarchy" class="shortcut">Object Hierarchy</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="gstreamer-video.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gstreamer-video.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gst-plugins-base-libs-GstMeta-for-video.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gst-plugins-base-libs-GstVideo"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="gst-plugins-base-libs-GstVideo.top_of_page"></a>GstVideo</span></h2>
<p>GstVideo — Support library for video operations</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-calculate-display-ratio" title="gst_video_calculate_display_ratio ()">gst_video_calculate_display_ratio</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-guess-framerate" title="gst_video_guess_framerate ()">gst_video_guess_framerate</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConvertSampleCallback" title="GstVideoConvertSampleCallback ()">*GstVideoConvertSampleCallback</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="returnvalue">GstSample</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-convert-sample" title="gst_video_convert_sample ()">gst_video_convert_sample</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-convert-sample-async" title="gst_video_convert_sample_async ()">gst_video_convert_sample_async</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-alignment-reset" title="gst_video_alignment_reset ()">gst_video_alignment_reset</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-still-frame" title="gst_video_event_new_still_frame ()">gst_video_event_new_still_frame</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-still-frame" title="gst_video_event_parse_still_frame ()">gst_video_event_parse_still_frame</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()">gst_video_event_new_downstream_force_key_unit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-downstream-force-key-unit" title="gst_video_event_parse_downstream_force_key_unit ()">gst_video_event_parse_downstream_force_key_unit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-upstream-force-key-unit" title="gst_video_event_new_upstream_force_key_unit ()">gst_video_event_new_upstream_force_key_unit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-upstream-force-key-unit" title="gst_video_event_parse_upstream_force_key_unit ()">gst_video_event_parse_upstream_force_key_unit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-is-force-key-unit" title="gst_video_event_is_force_key_unit ()">gst_video_event_is_force_key_unit</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatUnpack" title="GstVideoFormatUnpack ()">*GstVideoFormatUnpack</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatPack" title="GstVideoFormatPack ()">*GstVideoFormatPack</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-FORMAT:CAPS" title="GST_VIDEO_FORMAT_INFO_FORMAT()">GST_VIDEO_FORMAT_INFO_FORMAT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-NAME:CAPS" title="GST_VIDEO_FORMAT_INFO_NAME()">GST_VIDEO_FORMAT_INFO_NAME</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-FLAGS:CAPS" title="GST_VIDEO_FORMAT_INFO_FLAGS()">GST_VIDEO_FORMAT_INFO_FLAGS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-YUV:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_YUV()">GST_VIDEO_FORMAT_INFO_IS_YUV</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-RGB:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_RGB()">GST_VIDEO_FORMAT_INFO_IS_RGB</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-GRAY:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_GRAY()">GST_VIDEO_FORMAT_INFO_IS_GRAY</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-HAS-ALPHA:CAPS" title="GST_VIDEO_FORMAT_INFO_HAS_ALPHA()">GST_VIDEO_FORMAT_INFO_HAS_ALPHA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-LE:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_LE()">GST_VIDEO_FORMAT_INFO_IS_LE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-HAS-PALETTE:CAPS" title="GST_VIDEO_FORMAT_INFO_HAS_PALETTE()">GST_VIDEO_FORMAT_INFO_HAS_PALETTE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-COMPLEX:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_COMPLEX()">GST_VIDEO_FORMAT_INFO_IS_COMPLEX</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-BITS:CAPS" title="GST_VIDEO_FORMAT_INFO_BITS()">GST_VIDEO_FORMAT_INFO_BITS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-N-COMPONENTS:CAPS" title="GST_VIDEO_FORMAT_INFO_N_COMPONENTS()">GST_VIDEO_FORMAT_INFO_N_COMPONENTS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-SHIFT:CAPS" title="GST_VIDEO_FORMAT_INFO_SHIFT()">GST_VIDEO_FORMAT_INFO_SHIFT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-DEPTH:CAPS" title="GST_VIDEO_FORMAT_INFO_DEPTH()">GST_VIDEO_FORMAT_INFO_DEPTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-PSTRIDE:CAPS" title="GST_VIDEO_FORMAT_INFO_PSTRIDE()">GST_VIDEO_FORMAT_INFO_PSTRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-N-PLANES:CAPS" title="GST_VIDEO_FORMAT_INFO_N_PLANES()">GST_VIDEO_FORMAT_INFO_N_PLANES</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-PLANE:CAPS" title="GST_VIDEO_FORMAT_INFO_PLANE()">GST_VIDEO_FORMAT_INFO_PLANE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-POFFSET:CAPS" title="GST_VIDEO_FORMAT_INFO_POFFSET()">GST_VIDEO_FORMAT_INFO_POFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-W-SUB:CAPS" title="GST_VIDEO_FORMAT_INFO_W_SUB()">GST_VIDEO_FORMAT_INFO_W_SUB</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-H-SUB:CAPS" title="GST_VIDEO_FORMAT_INFO_H_SUB()">GST_VIDEO_FORMAT_INFO_H_SUB</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-SUB-SCALE:CAPS" title="GST_VIDEO_SUB_SCALE()">GST_VIDEO_SUB_SCALE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-SCALE-WIDTH:CAPS" title="GST_VIDEO_FORMAT_INFO_SCALE_WIDTH()">GST_VIDEO_FORMAT_INFO_SCALE_WIDTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-SCALE-HEIGHT:CAPS" title="GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT()">GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-DATA:CAPS" title="GST_VIDEO_FORMAT_INFO_DATA()">GST_VIDEO_FORMAT_INFO_DATA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-STRIDE:CAPS" title="GST_VIDEO_FORMAT_INFO_STRIDE()">GST_VIDEO_FORMAT_INFO_STRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-OFFSET:CAPS" title="GST_VIDEO_FORMAT_INFO_OFFSET()">GST_VIDEO_FORMAT_INFO_OFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-TILE-MODE:CAPS" title="GST_VIDEO_FORMAT_INFO_TILE_MODE()">GST_VIDEO_FORMAT_INFO_TILE_MODE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-TILE-WS:CAPS" title="GST_VIDEO_FORMAT_INFO_TILE_WS()">GST_VIDEO_FORMAT_INFO_TILE_WS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-TILE-HS:CAPS" title="GST_VIDEO_FORMAT_INFO_TILE_HS()">GST_VIDEO_FORMAT_INFO_TILE_HS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-INFO-IS-TILED:CAPS" title="GST_VIDEO_FORMAT_INFO_IS_TILED()">GST_VIDEO_FORMAT_INFO_IS_TILED</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-from-masks" title="gst_video_format_from_masks ()">gst_video_format_from_masks</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-from-fourcc" title="gst_video_format_from_fourcc ()">gst_video_format_from_fourcc</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-to-fourcc" title="gst_video_format_to_fourcc ()">gst_video_format_to_fourcc</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-from-string" title="gst_video_format_from_string ()">gst_video_format_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-to-string" title="gst_video_format_to_string ()">gst_video_format_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-get-palette" title="gst_video_format_get_palette ()">gst_video_format_get_palette</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="returnvalue">GstVideoFormatInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-format-get-info" title="gst_video_format_get_info ()">gst_video_format_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CAPS-MAKE:CAPS" title="GST_VIDEO_CAPS_MAKE()">GST_VIDEO_CAPS_MAKE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CAPS-MAKE-WITH-FEATURES:CAPS" title="GST_VIDEO_CAPS_MAKE_WITH_FEATURES()">GST_VIDEO_CAPS_MAKE_WITH_FEATURES</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-range-offsets" title="gst_video_color_range_offsets ()">gst_video_color_range_offsets</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-matrix-get-Kr-Kb" title="gst_video_color_matrix_get_Kr_Kb ()">gst_video_color_matrix_get_Kr_Kb</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-transfer-decode" title="gst_video_color_transfer_decode ()">gst_video_color_transfer_decode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-transfer-encode" title="gst_video_color_transfer_encode ()">gst_video_color_transfer_encode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo"><span class="returnvalue">GstVideoColorPrimariesInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-primaries-get-info" title="gst_video_color_primaries_get_info ()">gst_video_color_primaries_get_info</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-matches" title="gst_video_colorimetry_matches ()">gst_video_colorimetry_matches</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-is-equal" title="gst_video_colorimetry_is_equal ()">gst_video_colorimetry_is_equal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-from-string" title="gst_video_colorimetry_from_string ()">gst_video_colorimetry_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-colorimetry-to-string" title="gst_video_colorimetry_to_string ()">gst_video_colorimetry_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FORMAT:CAPS" title="GST_VIDEO_INFO_FORMAT()">GST_VIDEO_INFO_FORMAT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-NAME:CAPS" title="GST_VIDEO_INFO_NAME()">GST_VIDEO_INFO_NAME</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-YUV:CAPS" title="GST_VIDEO_INFO_IS_YUV()">GST_VIDEO_INFO_IS_YUV</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-RGB:CAPS" title="GST_VIDEO_INFO_IS_RGB()">GST_VIDEO_INFO_IS_RGB</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-GRAY:CAPS" title="GST_VIDEO_INFO_IS_GRAY()">GST_VIDEO_INFO_IS_GRAY</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-HAS-ALPHA:CAPS" title="GST_VIDEO_INFO_HAS_ALPHA()">GST_VIDEO_INFO_HAS_ALPHA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-INTERLACE-MODE:CAPS" title="GST_VIDEO_INFO_INTERLACE_MODE()">GST_VIDEO_INFO_INTERLACE_MODE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-IS-INTERLACED:CAPS" title="GST_VIDEO_INFO_IS_INTERLACED()">GST_VIDEO_INFO_IS_INTERLACED</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FIELD-HEIGHT:CAPS" title="GST_VIDEO_INFO_FIELD_HEIGHT()">GST_VIDEO_INFO_FIELD_HEIGHT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FIELD-ORDER:CAPS" title="GST_VIDEO_INFO_FIELD_ORDER()">GST_VIDEO_INFO_FIELD_ORDER</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FIELD-RATE-N:CAPS" title="GST_VIDEO_INFO_FIELD_RATE_N()">GST_VIDEO_INFO_FIELD_RATE_N</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAGS:CAPS" title="GST_VIDEO_INFO_FLAGS()">GST_VIDEO_INFO_FLAGS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-WIDTH:CAPS" title="GST_VIDEO_INFO_WIDTH()">GST_VIDEO_INFO_WIDTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-HEIGHT:CAPS" title="GST_VIDEO_INFO_HEIGHT()">GST_VIDEO_INFO_HEIGHT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-SIZE:CAPS" title="GST_VIDEO_INFO_SIZE()">GST_VIDEO_INFO_SIZE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-VIEWS:CAPS" title="GST_VIDEO_INFO_VIEWS()">GST_VIDEO_INFO_VIEWS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PAR-N:CAPS" title="GST_VIDEO_INFO_PAR_N()">GST_VIDEO_INFO_PAR_N</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PAR-D:CAPS" title="GST_VIDEO_INFO_PAR_D()">GST_VIDEO_INFO_PAR_D</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FPS-N:CAPS" title="GST_VIDEO_INFO_FPS_N()">GST_VIDEO_INFO_FPS_N</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FPS-D:CAPS" title="GST_VIDEO_INFO_FPS_D()">GST_VIDEO_INFO_FPS_D</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAG-IS-SET:CAPS" title="GST_VIDEO_INFO_FLAG_IS_SET()">GST_VIDEO_INFO_FLAG_IS_SET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAG-SET:CAPS" title="GST_VIDEO_INFO_FLAG_SET()">GST_VIDEO_INFO_FLAG_SET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-FLAG-UNSET:CAPS" title="GST_VIDEO_INFO_FLAG_UNSET()">GST_VIDEO_INFO_FLAG_UNSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-N-PLANES:CAPS" title="GST_VIDEO_INFO_N_PLANES()">GST_VIDEO_INFO_N_PLANES</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PLANE-OFFSET:CAPS" title="GST_VIDEO_INFO_PLANE_OFFSET()">GST_VIDEO_INFO_PLANE_OFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-PLANE-STRIDE:CAPS" title="GST_VIDEO_INFO_PLANE_STRIDE()">GST_VIDEO_INFO_PLANE_STRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-N-COMPONENTS:CAPS" title="GST_VIDEO_INFO_N_COMPONENTS()">GST_VIDEO_INFO_N_COMPONENTS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-DEPTH:CAPS" title="GST_VIDEO_INFO_COMP_DEPTH()">GST_VIDEO_INFO_COMP_DEPTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-DATA:CAPS" title="GST_VIDEO_INFO_COMP_DATA()">GST_VIDEO_INFO_COMP_DATA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-OFFSET:CAPS" title="GST_VIDEO_INFO_COMP_OFFSET()">GST_VIDEO_INFO_COMP_OFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-STRIDE:CAPS" title="GST_VIDEO_INFO_COMP_STRIDE()">GST_VIDEO_INFO_COMP_STRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-WIDTH:CAPS" title="GST_VIDEO_INFO_COMP_WIDTH()">GST_VIDEO_INFO_COMP_WIDTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-HEIGHT:CAPS" title="GST_VIDEO_INFO_COMP_HEIGHT()">GST_VIDEO_INFO_COMP_HEIGHT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-PLANE:CAPS" title="GST_VIDEO_INFO_COMP_PLANE()">GST_VIDEO_INFO_COMP_PLANE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-PSTRIDE:CAPS" title="GST_VIDEO_INFO_COMP_PSTRIDE()">GST_VIDEO_INFO_COMP_PSTRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COMP-POFFSET:CAPS" title="GST_VIDEO_INFO_COMP_POFFSET()">GST_VIDEO_INFO_COMP_POFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-CHROMA-SITE:CAPS" title="GST_VIDEO_INFO_CHROMA_SITE()">GST_VIDEO_INFO_CHROMA_SITE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-COLORIMETRY:CAPS" title="GST_VIDEO_INFO_COLORIMETRY()">GST_VIDEO_INFO_COLORIMETRY</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-MULTIVIEW-FLAGS:CAPS" title="GST_VIDEO_INFO_MULTIVIEW_FLAGS()">GST_VIDEO_INFO_MULTIVIEW_FLAGS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INFO-MULTIVIEW-MODE:CAPS" title="GST_VIDEO_INFO_MULTIVIEW_MODE()">GST_VIDEO_INFO_MULTIVIEW_MODE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-init" title="gst_video_info_init ()">gst_video_info_init</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-new" title="gst_video_info_new ()">gst_video_info_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-copy" title="gst_video_info_copy ()">gst_video_info_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-free" title="gst_video_info_free ()">gst_video_info_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-set-format" title="gst_video_info_set_format ()">gst_video_info_set_format</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-set-interlaced-format" title="gst_video_info_set_interlaced_format ()">gst_video_info_set_interlaced_format</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-from-caps" title="gst_video_info_from_caps ()">gst_video_info_from_caps</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-to-caps" title="gst_video_info_to_caps ()">gst_video_info_to_caps</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-convert" title="gst_video_info_convert ()">gst_video_info_convert</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-is-equal" title="gst_video_info_is_equal ()">gst_video_info_is_equal</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-align" title="gst_video_info_align ()">gst_video_info_align</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="returnvalue">GstVideoInterlaceMode</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-interlace-mode-from-string" title="gst_video_interlace_mode_from_string ()">gst_video_interlace_mode_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-interlace-mode-to-string" title="gst_video_interlace_mode_to_string ()">gst_video_interlace_mode_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="returnvalue">GstVideoFieldOrder</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-field-order-from-string" title="gst_video_field_order_from_string ()">gst_video_field_order_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-field-order-to-string" title="gst_video_field_order_to_string ()">gst_video_field_order_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map-id" title="gst_video_frame_map_id ()">gst_video_frame_map_id</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()">gst_video_frame_map</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-unmap" title="gst_video_frame_unmap ()">gst_video_frame_unmap</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-copy" title="gst_video_frame_copy ()">gst_video_frame_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-copy-plane" title="gst_video_frame_copy_plane ()">gst_video_frame_copy_plane</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-FORMAT:CAPS" title="GST_VIDEO_FRAME_FORMAT()">GST_VIDEO_FRAME_FORMAT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-WIDTH:CAPS" title="GST_VIDEO_FRAME_WIDTH()">GST_VIDEO_FRAME_WIDTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-HEIGHT:CAPS" title="GST_VIDEO_FRAME_HEIGHT()">GST_VIDEO_FRAME_HEIGHT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-SIZE:CAPS" title="GST_VIDEO_FRAME_SIZE()">GST_VIDEO_FRAME_SIZE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-FLAGS:CAPS" title="GST_VIDEO_FRAME_FLAGS()">GST_VIDEO_FRAME_FLAGS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-FLAG-IS-SET:CAPS" title="GST_VIDEO_FRAME_FLAG_IS_SET()">GST_VIDEO_FRAME_FLAG_IS_SET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-INTERLACED:CAPS" title="GST_VIDEO_FRAME_IS_INTERLACED()">GST_VIDEO_FRAME_IS_INTERLACED</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-TFF:CAPS" title="GST_VIDEO_FRAME_IS_TFF()">GST_VIDEO_FRAME_IS_TFF</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-RFF:CAPS" title="GST_VIDEO_FRAME_IS_RFF()">GST_VIDEO_FRAME_IS_RFF</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-IS-ONEFIELD:CAPS" title="GST_VIDEO_FRAME_IS_ONEFIELD()">GST_VIDEO_FRAME_IS_ONEFIELD</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-N-PLANES:CAPS" title="GST_VIDEO_FRAME_N_PLANES()">GST_VIDEO_FRAME_N_PLANES</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-DATA:CAPS" title="GST_VIDEO_FRAME_PLANE_DATA()">GST_VIDEO_FRAME_PLANE_DATA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-OFFSET:CAPS" title="GST_VIDEO_FRAME_PLANE_OFFSET()">GST_VIDEO_FRAME_PLANE_OFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-STRIDE:CAPS" title="GST_VIDEO_FRAME_PLANE_STRIDE()">GST_VIDEO_FRAME_PLANE_STRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-N-COMPONENTS:CAPS" title="GST_VIDEO_FRAME_N_COMPONENTS()">GST_VIDEO_FRAME_N_COMPONENTS</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-DEPTH:CAPS" title="GST_VIDEO_FRAME_COMP_DEPTH()">GST_VIDEO_FRAME_COMP_DEPTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-DATA:CAPS" title="GST_VIDEO_FRAME_COMP_DATA()">GST_VIDEO_FRAME_COMP_DATA</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-STRIDE:CAPS" title="GST_VIDEO_FRAME_COMP_STRIDE()">GST_VIDEO_FRAME_COMP_STRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-OFFSET:CAPS" title="GST_VIDEO_FRAME_COMP_OFFSET()">GST_VIDEO_FRAME_COMP_OFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-WIDTH:CAPS" title="GST_VIDEO_FRAME_COMP_WIDTH()">GST_VIDEO_FRAME_COMP_WIDTH</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-HEIGHT:CAPS" title="GST_VIDEO_FRAME_COMP_HEIGHT()">GST_VIDEO_FRAME_COMP_HEIGHT</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-PLANE:CAPS" title="GST_VIDEO_FRAME_COMP_PLANE()">GST_VIDEO_FRAME_COMP_PLANE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-PSTRIDE:CAPS" title="GST_VIDEO_FRAME_COMP_PSTRIDE()">GST_VIDEO_FRAME_COMP_PSTRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-POFFSET:CAPS" title="GST_VIDEO_FRAME_COMP_POFFSET()">GST_VIDEO_FRAME_COMP_POFFSET</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-tile-get-index" title="gst_video_tile_get_index ()">gst_video_tile_get_index</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MAKE-MODE:CAPS" title="GST_VIDEO_TILE_MAKE_MODE()">GST_VIDEO_TILE_MAKE_MODE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MODE-TYPE:CAPS" title="GST_VIDEO_TILE_MODE_TYPE()">GST_VIDEO_TILE_MODE_TYPE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MODE-IS-INDEXED:CAPS" title="GST_VIDEO_TILE_MODE_IS_INDEXED()">GST_VIDEO_TILE_MODE_IS_INDEXED</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-MAKE-STRIDE:CAPS" title="GST_VIDEO_TILE_MAKE_STRIDE()">GST_VIDEO_TILE_MAKE_STRIDE</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-X-TILES:CAPS" title="GST_VIDEO_TILE_X_TILES()">GST_VIDEO_TILE_X_TILES</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-Y-TILES:CAPS" title="GST_VIDEO_TILE_Y_TILES()">GST_VIDEO_TILE_Y_TILES</a><span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-blend" title="gst_video_blend ()">gst_video_blend</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-blend-scale-linear-RGBA" title="gst_video_blend_scale_linear_RGBA ()">gst_video_blend_scale_linear_RGBA</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="returnvalue">GstVideoConverter</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-new" title="gst_video_converter_new ()">gst_video_converter_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-free" title="gst_video_converter_free ()">gst_video_converter_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-get-config" title="gst_video_converter_get_config ()">gst_video_converter_get_config</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-set-config" title="gst_video_converter_set_config ()">gst_video_converter_set_config</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-frame" title="gst_video_converter_frame ()">gst_video_converter_frame</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-mono-modes" title="gst_video_multiview_get_mono_modes ()">gst_video_multiview_get_mono_modes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-unpacked-modes" title="gst_video_multiview_get_unpacked_modes ()">gst_video_multiview_get_unpacked_modes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-doubled-height-modes" title="gst_video_multiview_get_doubled_height_modes ()">gst_video_multiview_get_doubled_height_modes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-doubled-size-modes" title="gst_video_multiview_get_doubled_size_modes ()">gst_video_multiview_get_doubled_size_modes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-get-doubled-width-modes" title="gst_video_multiview_get_doubled_width_modes ()">gst_video_multiview_get_doubled_width_modes</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="returnvalue">GstVideoMultiviewMode</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-mode-from-caps-string" title="gst_video_multiview_mode_from_caps_string ()">gst_video_multiview_mode_from_caps_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-mode-to-caps-string" title="gst_video_multiview_mode_to_caps_string ()">gst_video_multiview_mode_to_caps_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-guess-half-aspect" title="gst_video_multiview_guess_half_aspect ()">gst_video_multiview_guess_half_aspect</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-multiview-video-info-change-mode" title="gst_video_multiview_video_info_change_mode ()">gst_video_multiview_video_info_change_mode</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new" title="gst_video_time_code_new ()">gst_video_time_code_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-empty" title="gst_video_time_code_new_empty ()">gst_video_time_code_new_empty</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-free" title="gst_video_time_code_free ()">gst_video_time_code_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-copy" title="gst_video_time_code_copy ()">gst_video_time_code_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init" title="gst_video_time_code_init ()">gst_video_time_code_init</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init-from-date-time" title="gst_video_time_code_init_from_date_time ()">gst_video_time_code_init_from_date_time</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init-from-date-time-full" title="gst_video_time_code_init_from_date_time_full ()">gst_video_time_code_init_from_date_time_full</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-clear" title="gst_video_time_code_clear ()">gst_video_time_code_clear</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()">gst_video_time_code_is_valid</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-compare" title="gst_video_time_code_compare ()">gst_video_time_code_compare</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-increment-frame" title="gst_video_time_code_increment_frame ()">gst_video_time_code_increment_frame</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-add-frames" title="gst_video_time_code_add_frames ()">gst_video_time_code_add_frames</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-frames-since-daily-jam" title="gst_video_time_code_frames_since_daily_jam ()">gst_video_time_code_frames_since_daily_jam</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-nsec-since-daily-jam" title="gst_video_time_code_nsec_since_daily_jam ()">gst_video_time_code_nsec_since_daily_jam</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-to-date-time" title="gst_video_time_code_to_date_time ()">gst_video_time_code_to_date_time</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-to-string" title="gst_video_time_code_to_string ()">gst_video_time_code_to_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-add-interval" title="gst_video_time_code_add_interval ()">gst_video_time_code_add_interval</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-string" title="gst_video_time_code_new_from_string ()">gst_video_time_code_new_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-date-time" title="gst_video_time_code_new_from_date_time ()">gst_video_time_code_new_from_date_time</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-date-time-full" title="gst_video_time_code_new_from_date_time_full ()">gst_video_time_code_new_from_date_time_full</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-new" title="gst_video_time_code_interval_new ()">gst_video_time_code_interval_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-new-from-string" title="gst_video_time_code_interval_new_from_string ()">gst_video_time_code_interval_new_from_string</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-init" title="gst_video_time_code_interval_init ()">gst_video_time_code_interval_init</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-clear" title="gst_video_time_code_interval_clear ()">gst_video_time_code_interval_clear</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> *
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-copy" title="gst_video_time_code_interval_copy ()">gst_video_time_code_interval_copy</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-interval-free" title="gst_video_time_code_interval_free ()">gst_video_time_code_interval_free</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment">GstVideoAlignment</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-STR:CAPS" title="GST_META_TAG_VIDEO_STR">GST_META_TAG_VIDEO_STR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-ORIENTATION-STR:CAPS" title="GST_META_TAG_VIDEO_ORIENTATION_STR">GST_META_TAG_VIDEO_ORIENTATION_STR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-SIZE-STR:CAPS" title="GST_META_TAG_VIDEO_SIZE_STR">GST_META_TAG_VIDEO_SIZE_STR</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-META-TAG-VIDEO-COLORSPACE-STR:CAPS" title="GST_META_TAG_VIDEO_COLORSPACE_STR">GST_META_TAG_VIDEO_COLORSPACE_STR</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoOrientationMethod" title="enum GstVideoOrientationMethod">GstVideoOrientationMethod</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat">GstVideoFormat</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MAX-PLANES:CAPS" title="GST_VIDEO_MAX_PLANES">GST_VIDEO_MAX_PLANES</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MAX-COMPONENTS:CAPS" title="GST_VIDEO_MAX_COMPONENTS">GST_VIDEO_MAX_COMPONENTS</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo">GstVideoFormatInfo</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatFlags" title="enum GstVideoFormatFlags">GstVideoFormatFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPackFlags" title="enum GstVideoPackFlags">GstVideoPackFlags</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-SIZE-RANGE:CAPS" title="GST_VIDEO_SIZE_RANGE">GST_VIDEO_SIZE_RANGE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FPS-RANGE:CAPS" title="GST_VIDEO_FPS_RANGE">GST_VIDEO_FPS_RANGE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMATS-ALL:CAPS" title="GST_VIDEO_FORMATS_ALL">GST_VIDEO_FORMATS_ALL</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-CAPS-FEATURE-FORMAT-INTERLACED:CAPS" title="GST_CAPS_FEATURE_FORMAT_INTERLACED">GST_CAPS_FEATURE_FORMAT_INTERLACED</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange">GstVideoColorRange</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix">GstVideoColorMatrix</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries">GstVideoColorPrimaries</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction">GstVideoTransferFunction</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo">GstVideoColorPrimariesInfo</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry">GstVideoColorimetry</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-BT2020:CAPS" title="GST_VIDEO_COLORIMETRY_BT2020">GST_VIDEO_COLORIMETRY_BT2020</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-BT601:CAPS" title="GST_VIDEO_COLORIMETRY_BT601">GST_VIDEO_COLORIMETRY_BT601</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-BT709:CAPS" title="GST_VIDEO_COLORIMETRY_BT709">GST_VIDEO_COLORIMETRY_BT709</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-SMPTE240M:CAPS" title="GST_VIDEO_COLORIMETRY_SMPTE240M">GST_VIDEO_COLORIMETRY_SMPTE240M</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-COLORIMETRY-SRGB:CAPS" title="GST_VIDEO_COLORIMETRY_SRGB">GST_VIDEO_COLORIMETRY_SRGB</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo">GstVideoInfo</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode">GstVideoInterlaceMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder">GstVideoFieldOrder</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFlags" title="enum GstVideoFlags">GstVideoFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame">GstVideoFrame</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameFlags" title="enum GstVideoFrameFlags">GstVideoFrameFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameMapFlags" title="enum GstVideoFrameMapFlags">GstVideoFrameMapFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoBufferFlags" title="enum GstVideoBufferFlags">GstVideoBufferFlags</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileType" title="enum GstVideoTileType">GstVideoTileType</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode">GstVideoTileMode</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-TYPE-MASK:CAPS" title="GST_VIDEO_TILE_TYPE_MASK">GST_VIDEO_TILE_TYPE_MASK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-TYPE-SHIFT:CAPS" title="GST_VIDEO_TILE_TYPE_SHIFT">GST_VIDEO_TILE_TYPE_SHIFT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-X-TILES-MASK:CAPS" title="GST_VIDEO_TILE_X_TILES_MASK">GST_VIDEO_TILE_X_TILES_MASK</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-Y-TILES-SHIFT:CAPS" title="GST_VIDEO_TILE_Y_TILES_SHIFT">GST_VIDEO_TILE_Y_TILES_SHIFT</a></td>
</tr>
<tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter">GstVideoConverter</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlphaMode" title="enum GstVideoAlphaMode">GstVideoAlphaMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoChromaMode" title="enum GstVideoChromaMode">GstVideoChromaMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoGammaMode" title="enum GstVideoGammaMode">GstVideoGammaMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMatrixMode" title="enum GstVideoMatrixMode">GstVideoMatrixMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPrimariesMode" title="enum GstVideoPrimariesMode">GstVideoPrimariesMode</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_MODE">GST_VIDEO_CONVERTER_OPT_ALPHA_MODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-BORDER-ARGB:CAPS" title="GST_VIDEO_CONVERTER_OPT_BORDER_ARGB">GST_VIDEO_CONVERTER_OPT_BORDER_ARGB</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-CHROMA-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_CHROMA_MODE">GST_VIDEO_CONVERTER_OPT_CHROMA_MODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-CHROMA-RESAMPLER-METHOD:CAPS" title="GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD">GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-HEIGHT:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT">GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-WIDTH:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_WIDTH">GST_VIDEO_CONVERTER_OPT_DEST_WIDTH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-X:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_X">GST_VIDEO_CONVERTER_OPT_DEST_X</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DEST-Y:CAPS" title="GST_VIDEO_CONVERTER_OPT_DEST_Y">GST_VIDEO_CONVERTER_OPT_DEST_Y</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DITHER-METHOD:CAPS" title="GST_VIDEO_CONVERTER_OPT_DITHER_METHOD">GST_VIDEO_CONVERTER_OPT_DITHER_METHOD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-DITHER-QUANTIZATION:CAPS" title="GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION">GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-FILL-BORDER:CAPS" title="GST_VIDEO_CONVERTER_OPT_FILL_BORDER">GST_VIDEO_CONVERTER_OPT_FILL_BORDER</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-GAMMA-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_GAMMA_MODE">GST_VIDEO_CONVERTER_OPT_GAMMA_MODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-MATRIX-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_MATRIX_MODE">GST_VIDEO_CONVERTER_OPT_MATRIX_MODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-PRIMARIES-MODE:CAPS" title="GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE">GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-RESAMPLER-METHOD:CAPS" title="GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD">GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-RESAMPLER-TAPS:CAPS" title="GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS">GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-HEIGHT:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT">GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-WIDTH:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_WIDTH">GST_VIDEO_CONVERTER_OPT_SRC_WIDTH</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-X:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_X">GST_VIDEO_CONVERTER_OPT_SRC_X</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-SRC-Y:CAPS" title="GST_VIDEO_CONVERTER_OPT_SRC_Y">GST_VIDEO_CONVERTER_OPT_SRC_Y</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-THREADS:CAPS" title="GST_VIDEO_CONVERTER_OPT_THREADS">GST_VIDEO_CONVERTER_OPT_THREADS</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode">GstVideoMultiviewMode</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking" title="enum GstVideoMultiviewFramePacking">GstVideoMultiviewFramePacking</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags">GstVideoMultiviewFlags</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MULTIVIEW-MAX-FRAME-PACKING:CAPS" title="GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING">GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode">GstVideoTimeCode</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeConfig" title="struct GstVideoTimeCodeConfig">GstVideoTimeCodeConfig</a></td>
</tr>
<tr>
<td class="datatype_keyword">enum</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags">GstVideoTimeCodeFlags</a></td>
</tr>
<tr>
<td class="define_keyword">#define</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TIME-CODE-INIT:CAPS" title="GST_VIDEO_TIME_CODE_INIT">GST_VIDEO_TIME_CODE_INIT</a></td>
</tr>
<tr>
<td class="datatype_keyword">struct</td>
<td class="function_name"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval">GstVideoTimeCodeInterval</a></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="screen">    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GEnum</a>
    <span class="lineart">├──</span> GstVideoMultiviewMode
    <span class="lineart">╰──</span> GstVideoOrientationMethod
    <a href="/usr/share/gtk-doc/html/gobject/gobject-Enumeration-and-Flag-Types.html">GFlags</a>
    <span class="lineart">╰──</span> GstVideoMultiviewFlags
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.includes"></a><h2>Includes</h2>
<pre class="synopsis">#include &lt;gst/video/video.h&gt;
</pre>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.description"></a><h2>Description</h2>
<p>This library contains some helper functions and includes the
videosink and videofilter base classes.</p>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="gst-video-calculate-display-ratio"></a><h3>gst_video_calculate_display_ratio ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_calculate_display_ratio (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *dar_n</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *dar_d</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_width</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_height</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_par_n</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> video_par_d</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> display_par_n</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> display_par_d</code></em>);</pre>
<p>Given the Pixel Aspect Ratio and size of an input video frame, and the
pixel aspect ratio of the intended display device, calculates the actual
display ratio the video will be rendered with.</p>
<div class="refsect3">
<a name="gst-video-calculate-display-ratio.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>dar_n</p></td>
<td class="parameter_description"><p>Numerator of the calculated display_ratio. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>dar_d</p></td>
<td class="parameter_description"><p>Denominator of the calculated display_ratio. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>video_width</p></td>
<td class="parameter_description"><p>Width of the video frame in pixels</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>video_height</p></td>
<td class="parameter_description"><p>Height of the video frame in pixels</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>video_par_n</p></td>
<td class="parameter_description"><p>Numerator of the pixel aspect ratio of the input video.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>video_par_d</p></td>
<td class="parameter_description"><p>Denominator of the pixel aspect ratio of the input video.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>display_par_n</p></td>
<td class="parameter_description"><p>Numerator of the pixel aspect ratio of the display device</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>display_par_d</p></td>
<td class="parameter_description"><p>Denominator of the pixel aspect ratio of the display device</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-calculate-display-ratio.returns"></a><h4>Returns</h4>
<p> A boolean indicating success and a calculated Display Ratio in the
dar_n and dar_d parameters.
The return value is FALSE in the case of integer overflow or other error.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-guess-framerate"></a><h3>gst_video_guess_framerate ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_guess_framerate (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> duration</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_n</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *dest_d</code></em>);</pre>
<p>Given the nominal duration of one video frame,
this function will check some standard framerates for
a close match (within 0.1%) and return one if possible,</p>
<p>It will calculate an arbitrary framerate if no close
match was found, and return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
<p>It returns <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if a duration of 0 is passed.</p>
<div class="refsect3">
<a name="gst-video-guess-framerate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>duration</p></td>
<td class="parameter_description"><p>Nominal duration of one frame</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_n</p></td>
<td class="parameter_description"><p>Numerator of the calculated framerate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>dest_d</p></td>
<td class="parameter_description"><p>Denominator of the calculated framerate. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>][<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-guess-framerate.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a close "standard" framerate was
recognised, and <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoConvertSampleCallback"></a><h3>GstVideoConvertSampleCallback ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GstVideoConvertSampleCallback<span class="c_punctuation">)</span> (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a> *sample</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> *error</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-convert-sample"></a><h3>gst_video_convert_sample ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="returnvalue">GstSample</span></a> *
gst_video_convert_sample (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a> *sample</code></em>,
                          <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *to_caps</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>Converts a raw video buffer into the specified output caps.</p>
<p>The output caps can be any raw video formats or any image formats (jpeg, png, ...).</p>
<p>The width, height and pixel-aspect-ratio can also be specified in the output caps.</p>
<div class="refsect3">
<a name="gst-video-convert-sample.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sample</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>to_caps</p></td>
<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to convert to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout</p></td>
<td class="parameter_description"><p>the maximum amount of time allowed for the processing.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>error</p></td>
<td class="parameter_description"><p>pointer to a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>. Can be <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-convert-sample.returns"></a><h4>Returns</h4>
<p> The converted <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if an error happened (in which case <em class="parameter"><code>err</code></em>
will point to the <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a>).</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-convert-sample-async"></a><h3>gst_video_convert_sample_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_convert_sample_async (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a> *sample</code></em>,
                                <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *to_caps</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timeout</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConvertSampleCallback" title="GstVideoConvertSampleCallback ()"><span class="type">GstVideoConvertSampleCallback</span></a> callback</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><span class="type">GDestroyNotify</span></a> destroy_notify</code></em>);</pre>
<p>Converts a raw video buffer into the specified output caps.</p>
<p>The output caps can be any raw video formats or any image formats (jpeg, png, ...).</p>
<p>The width, height and pixel-aspect-ratio can also be specified in the output caps.</p>
<p><em class="parameter"><code>callback</code></em>
 will be called after conversion, when an error occured or if conversion didn't
finish after <em class="parameter"><code>timeout</code></em>
. <em class="parameter"><code>callback</code></em>
 will always be called from the thread default
<a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#GMainContext"><code class="literal">GMainContext</code></a>, see <a href="/usr/share/gtk-doc/html/glib/glib-The-Main-Event-Loop.html#g-main-context-get-thread-default"><code class="function">g_main_context_get_thread_default()</code></a>. If GLib before 2.22 is used,
this will always be the global default main context.</p>
<p><em class="parameter"><code>destroy_notify</code></em>
 will be called after the callback was called and <em class="parameter"><code>user_data</code></em>
 is not needed
anymore.</p>
<div class="refsect3">
<a name="gst-video-convert-sample-async.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>sample</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstSample.html#GstSample-struct"><span class="type">GstSample</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>to_caps</p></td>
<td class="parameter_description"><p>the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> to convert to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timeout</p></td>
<td class="parameter_description"><p>the maximum amount of time allowed for the processing.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>callback</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConvertSampleCallback" title="GstVideoConvertSampleCallback ()"><code class="literal">GstVideoConvertSampleCallback</code></a> that will be called after conversion.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>extra data that will be passed to the <em class="parameter"><code>callback</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>destroy_notify</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Datasets.html#GDestroyNotify"><code class="literal">GDestroyNotify</code></a> to be called after <em class="parameter"><code>user_data</code></em>
is not needed anymore</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-alignment-reset"></a><h3>gst_video_alignment_reset ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_alignment_reset (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment"><span class="type">GstVideoAlignment</span></a> *align</code></em>);</pre>
<p>Set <em class="parameter"><code>align</code></em>
 to its default values with no padding and no alignment.</p>
<div class="refsect3">
<a name="gst-video-alignment-reset.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>align</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment"><span class="type">GstVideoAlignment</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-new-still-frame"></a><h3>gst_video_event_new_still_frame ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> *
gst_video_event_new_still_frame (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> in_still</code></em>);</pre>
<p>Creates a new Still Frame event. If <em class="parameter"><code>in_still</code></em>
 is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, then the event
represents the start of a still frame sequence. If it is <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, then
the event ends a still frame sequence.</p>
<p>To parse an event created by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-still-frame" title="gst_video_event_new_still_frame ()"><code class="function">gst_video_event_new_still_frame()</code></a> use
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-still-frame" title="gst_video_event_parse_still_frame ()"><code class="function">gst_video_event_parse_still_frame()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-event-new-still-frame.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>in_still</p></td>
<td class="parameter_description"><p>boolean value for the still-frame state of the event.</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-new-still-frame.returns"></a><h4>Returns</h4>
<p> The new GstEvent</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-parse-still-frame"></a><h3>gst_video_event_parse_still_frame ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_event_parse_still_frame (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *in_still</code></em>);</pre>
<p>Parse a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a>, identify if it is a Still Frame event, and
return the still-frame state from the event if it is.
If the event represents the start of a still frame, the in_still
variable will be set to TRUE, otherwise FALSE. It is OK to pass NULL for the
in_still variable order to just check whether the event is a valid still-frame
event.</p>
<p>Create a still frame event using <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-still-frame" title="gst_video_event_new_still_frame ()"><code class="function">gst_video_event_new_still_frame()</code></a></p>
<div class="refsect3">
<a name="gst-video-event-parse-still-frame.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>event</p></td>
<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>in_still</p></td>
<td class="parameter_description"><p>A boolean to receive the still-frame status from the event, or NULL. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-parse-still-frame.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid still-frame event. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-new-downstream-force-key-unit"></a><h3>gst_video_event_new_downstream_force_key_unit ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> *
gst_video_event_new_downstream_force_key_unit
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> timestamp</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> stream_time</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> running_time</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> all_headers</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>);</pre>
<p>Creates a new downstream force key unit event. A downstream force key unit
event can be sent down the pipeline to request downstream elements to produce
a key unit. A downstream force key unit event must also be sent when handling
an upstream force key unit event to notify downstream that the latter has been
handled.</p>
<p>To parse an event created by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()"><code class="function">gst_video_event_new_downstream_force_key_unit()</code></a> use
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-downstream-force-key-unit" title="gst_video_event_parse_downstream_force_key_unit ()"><code class="function">gst_video_event_parse_downstream_force_key_unit()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-event-new-downstream-force-key-unit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>the timestamp of the buffer that starts a new key unit</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>stream_time</p></td>
<td class="parameter_description"><p>the stream_time of the buffer that starts a new key unit</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>running_time</p></td>
<td class="parameter_description"><p>the running_time of the buffer that starts a new key unit</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>all_headers</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to produce headers when starting a new key unit</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>count</p></td>
<td class="parameter_description"><p>integer that can be used to number key units</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-new-downstream-force-key-unit.returns"></a><h4>Returns</h4>
<p> The new GstEvent</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-parse-downstream-force-key-unit"></a><h3>gst_video_event_parse_downstream_force_key_unit ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_event_parse_downstream_force_key_unit
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *timestamp</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *stream_time</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *running_time</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *all_headers</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *count</code></em>);</pre>
<p>Get timestamp, stream-time, running-time, all-headers and count in the force
key unit event. See <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()"><code class="function">gst_video_event_new_downstream_force_key_unit()</code></a> for a
full description of the downstream force key unit event.</p>
<p><em class="parameter"><code>running_time</code></em>
 will be adjusted for any pad offsets of pads it was passing through.</p>
<div class="refsect3">
<a name="gst-video-event-parse-downstream-force-key-unit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>event</p></td>
<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>timestamp</p></td>
<td class="parameter_description"><p>A pointer to the timestamp in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>stream_time</p></td>
<td class="parameter_description"><p>A pointer to the stream-time in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>running_time</p></td>
<td class="parameter_description"><p>A pointer to the running-time in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>all_headers</p></td>
<td class="parameter_description"><p>A pointer to the all_headers flag in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>count</p></td>
<td class="parameter_description"><p>A pointer to the count field of the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-parse-downstream-force-key-unit.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid downstream force key unit event.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-new-upstream-force-key-unit"></a><h3>gst_video_event_new_upstream_force_key_unit ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="returnvalue">GstEvent</span></a> *
gst_video_event_new_upstream_force_key_unit
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> running_time</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> all_headers</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> count</code></em>);</pre>
<p>Creates a new upstream force key unit event. An upstream force key unit event
can be sent to request upstream elements to produce a key unit.</p>
<p><em class="parameter"><code>running_time</code></em>
 can be set to request a new key unit at a specific
running_time. If set to GST_CLOCK_TIME_NONE, upstream elements will produce a
new key unit as soon as possible.</p>
<p>To parse an event created by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-downstream-force-key-unit" title="gst_video_event_new_downstream_force_key_unit ()"><code class="function">gst_video_event_new_downstream_force_key_unit()</code></a> use
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-parse-downstream-force-key-unit" title="gst_video_event_parse_downstream_force_key_unit ()"><code class="function">gst_video_event_parse_downstream_force_key_unit()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-event-new-upstream-force-key-unit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>running_time</p></td>
<td class="parameter_description"><p>the running_time at which a new key unit should be produced</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>all_headers</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to produce headers when starting a new key unit</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>count</p></td>
<td class="parameter_description"><p>integer that can be used to number key units</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-new-upstream-force-key-unit.returns"></a><h4>Returns</h4>
<p> The new GstEvent</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-parse-upstream-force-key-unit"></a><h3>gst_video_event_parse_upstream_force_key_unit ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_event_parse_upstream_force_key_unit
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstClock.html#GstClockTime"><span class="type">GstClockTime</span></a> *running_time</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> *all_headers</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> *count</code></em>);</pre>
<p>Get running-time, all-headers and count in the force key unit event. See
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-upstream-force-key-unit" title="gst_video_event_new_upstream_force_key_unit ()"><code class="function">gst_video_event_new_upstream_force_key_unit()</code></a> for a full description of the
upstream force key unit event.</p>
<p>Create an upstream force key unit event using  <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-event-new-upstream-force-key-unit" title="gst_video_event_new_upstream_force_key_unit ()"><code class="function">gst_video_event_new_upstream_force_key_unit()</code></a></p>
<p><em class="parameter"><code>running_time</code></em>
 will be adjusted for any pad offsets of pads it was passing through.</p>
<div class="refsect3">
<a name="gst-video-event-parse-upstream-force-key-unit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>event</p></td>
<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to parse</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>running_time</p></td>
<td class="parameter_description"><p>A pointer to the running_time in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>all_headers</p></td>
<td class="parameter_description"><p>A pointer to the all_headers flag in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>count</p></td>
<td class="parameter_description"><p>A pointer to the count field in the event. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-parse-upstream-force-key-unit.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid upstream force-key-unit event. <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if not</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-event-is-force-key-unit"></a><h3>gst_video_event_is_force_key_unit ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_event_is_force_key_unit (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> *event</code></em>);</pre>
<p>Checks if an event is a force key unit event. Returns true for both upstream
and downstream force key unit events.</p>
<div class="refsect3">
<a name="gst-video-event-is-force-key-unit.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>event</p></td>
<td class="parameter_description"><p>A <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstEvent.html#GstEvent-struct"><span class="type">GstEvent</span></a> to check</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-event-is-force-key-unit.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the event is a valid force key unit event</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFormatUnpack"></a><h3>GstVideoFormatUnpack ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GstVideoFormatUnpack<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *info</code></em>,
                         <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPackFlags" title="enum GstVideoPackFlags"><span class="type">GstVideoPackFlags</span></a> flags</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> dest</code></em>,
                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data[GST_VIDEO_MAX_PLANES]</code></em>,
                         <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stride[GST_VIDEO_MAX_PLANES]</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
<p>Unpacks <em class="parameter"><code>width</code></em>
 pixels from the given planes and strides containing data of
format <em class="parameter"><code>info</code></em>
. The pixels will be unpacked into <em class="parameter"><code>dest</code></em>
 with each component
interleaved as per <em class="parameter"><code>info</code></em>
's unpack_format, which will usually be one of
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-ARGB:CAPS"><span class="type">GST_VIDEO_FORMAT_ARGB</span></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-AYUV:CAPS"><span class="type">GST_VIDEO_FORMAT_AYUV</span></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-ARGB64:CAPS"><span class="type">GST_VIDEO_FORMAT_ARGB64</span></a> or
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-AYUV64:CAPS"><span class="type">GST_VIDEO_FORMAT_AYUV64</span></a> depending on the format to unpack.
<em class="parameter"><code>dest</code></em>
 should at least be big enough to hold <em class="parameter"><code>width</code></em>
 * bytes_per_pixel bytes
where bytes_per_pixel relates to the unpack format and will usually be
either 4 or 8 depending on the unpack format. bytes_per_pixel will be
the same as the pixel stride for plane 0 for the above formats.</p>
<p>For subsampled formats, the components will be duplicated in the destination
array. Reconstruction of the missing components can be performed in a
separate step after unpacking.</p>
<div class="refsect3">
<a name="GstVideoFormatUnpack.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>flags to control the unpacking</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>a destination array</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>pointers to the data planes</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>stride</p></td>
<td class="parameter_description"><p>strides of the planes</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>the x position in the image to start from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>the y position in the image to start from</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>the amount of pixels to unpack.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFormatPack"></a><h3>GstVideoFormatPack ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
<span class="c_punctuation">(</span>*GstVideoFormatPack<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *info</code></em>,
                       <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoPackFlags" title="enum GstVideoPackFlags"><span class="type">GstVideoPackFlags</span></a> flags</code></em>,
                       <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> src</code></em>,
                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> sstride</code></em>,
                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> data[GST_VIDEO_MAX_PLANES]</code></em>,
                       <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> stride[GST_VIDEO_MAX_PLANES]</code></em>,
                       <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideoChroma.html#GstVideoChromaSite" title="enum GstVideoChromaSite"><span class="type">GstVideoChromaSite</span></a> chroma_site</code></em>,
                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> width</code></em>);</pre>
<p>Packs <em class="parameter"><code>width</code></em>
 pixels from <em class="parameter"><code>src</code></em>
 to the given planes and strides in the
format <em class="parameter"><code>info</code></em>
. The pixels from source have each component interleaved
and will be packed into the planes in <em class="parameter"><code>data</code></em>
.</p>
<p>This function operates on pack_lines lines, meaning that <em class="parameter"><code>src</code></em>
 should
contain at least pack_lines lines with a stride of <em class="parameter"><code>sstride</code></em>
 and <em class="parameter"><code>y</code></em>

should be a multiple of pack_lines.</p>
<p>Subsampled formats will use the horizontally and vertically cosited
component from the source. Subsampling should be performed before
packing.</p>
<p>Because this function does not have a x coordinate, it is not possible to
pack pixels starting from an unaligned position. For tiled images this
means that packing should start from a tile coordinate. For subsampled
formats this means that a complete pixel needs to be packed.</p>
<div class="refsect3">
<a name="GstVideoFormatPack.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p>flags to control the packing</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a source array</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>sstride</p></td>
<td class="parameter_description"><p>the source array stride</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>data</p></td>
<td class="parameter_description"><p>pointers to the destination data planes</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>stride</p></td>
<td class="parameter_description"><p>strides of the destination planes</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>chroma_site</p></td>
<td class="parameter_description"><p>the chroma siting of the target when subsampled (not used)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>the y position in the image to pack to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>the amount of pixels to pack.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-FORMAT:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_FORMAT()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_FORMAT(info)       ((info)-&gt;format)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-NAME:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_NAME()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_NAME(info)         ((info)-&gt;name)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-FLAGS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_FLAGS()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_FLAGS(info)        ((info)-&gt;flags)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-IS-YUV:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_YUV()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_YUV(info)       ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_YUV)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-IS-RGB:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_RGB()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_RGB(info)       ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_RGB)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-IS-GRAY:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_GRAY()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_GRAY(info)      ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_GRAY)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-HAS-ALPHA:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_HAS_ALPHA()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_HAS_ALPHA(info)    ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_ALPHA)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-IS-LE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_LE()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_LE(info)        ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_LE)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-HAS-PALETTE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_HAS_PALETTE()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_HAS_PALETTE(info)  ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_PALETTE)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-IS-COMPLEX:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_COMPLEX()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_COMPLEX(info)   ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_COMPLEX)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-BITS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_BITS()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_BITS(info)         ((info)-&gt;bits)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-N-COMPONENTS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_N_COMPONENTS()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_N_COMPONENTS(info) ((info)-&gt;n_components)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-SHIFT:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_SHIFT()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_SHIFT(info,c)      ((info)-&gt;shift[c])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-DEPTH:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_DEPTH()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_DEPTH(info,c)      ((info)-&gt;depth[c])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-PSTRIDE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_PSTRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_PSTRIDE(info,c)    ((info)-&gt;pixel_stride[c])
</pre>
<p>pixel stride for the given component. This is the amount of bytes to the
pixel immediately to the right, so basically bytes from one pixel to the
next. When bits &lt; 8, the stride is expressed in bits.</p>
<p>Examples: for 24-bit RGB, the pixel stride would be 3 bytes, while it
would be 4 bytes for RGBx or ARGB, and 8 bytes for ARGB64 or AYUV64.
For planar formats such as I420 the pixel stride is usually 1. For
YUY2 it would be 2 bytes.</p>
<div class="refsect3">
<a name="GST-VIDEO-FORMAT-INFO-PSTRIDE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>c</p></td>
<td class="parameter_description"><p>the component index</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-N-PLANES:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_N_PLANES()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_N_PLANES(info)     ((info)-&gt;n_planes)
</pre>
<p>Number of planes. This is the number of planes the pixel layout is
organized in in memory. The number of planes can be less than the
number of components (e.g. Y,U,V,A or R, G, B, A) when multiple
components are packed into one plane.</p>
<p>Examples: RGB/RGBx/RGBA: 1 plane, 3/3/4 components;
I420: 3 planes, 3 components; NV21/NV12: 2 planes, 3 components.</p>
<div class="refsect3">
<a name="GST-VIDEO-FORMAT-INFO-N-PLANES.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-PLANE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_PLANE()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_PLANE(info,c)      ((info)-&gt;plane[c])
</pre>
<p>Plane number where the given component can be found. A plane may
contain data for multiple components.</p>
<div class="refsect3">
<a name="GST-VIDEO-FORMAT-INFO-PLANE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>c</p></td>
<td class="parameter_description"><p>the component index</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-POFFSET:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_POFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_POFFSET(info,c)    ((info)-&gt;poffset[c])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-W-SUB:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_W_SUB()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_W_SUB(info,c)      ((info)-&gt;w_sub[c])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-H-SUB:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_H_SUB()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_H_SUB(info,c)      ((info)-&gt;h_sub[c])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-SUB-SCALE:CAPS"></a><h3>GST_VIDEO_SUB_SCALE()</h3>
<pre class="programlisting">#define GST_VIDEO_SUB_SCALE(scale,val)   (-((-((gint)(val)))&gt;&gt;(scale)))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-SCALE-WIDTH:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_SCALE_WIDTH()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_SCALE_WIDTH(info,c,w)  GST_VIDEO_SUB_SCALE ((info)-&gt;w_sub[c],(w))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-SCALE-HEIGHT:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT(info,c,h) GST_VIDEO_SUB_SCALE ((info)-&gt;h_sub[c],(h))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-DATA:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_DATA()</h3>
<pre class="programlisting">#define             GST_VIDEO_FORMAT_INFO_DATA(info,planes,comp)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-STRIDE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_STRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_STRIDE(info,strides,comp) ((strides)[(info)-&gt;plane[comp]])
</pre>
<p>Row stride in bytes, that is number of bytes from the first pixel component
of a row to the first pixel component in the next row. This might include
some row padding (memory not actually used for anything, to make sure the
beginning of the next row is aligned in a particular way).</p>
<div class="refsect3">
<a name="GST-VIDEO-FORMAT-INFO-STRIDE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>strides</p></td>
<td class="parameter_description"><p>an array of strides</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>comp</p></td>
<td class="parameter_description"><p>the component index</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-OFFSET:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_OFFSET()</h3>
<pre class="programlisting">#define             GST_VIDEO_FORMAT_INFO_OFFSET(info,offsets,comp)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-TILE-MODE:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_TILE_MODE()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_TILE_MODE(info) ((info)-&gt;tile_mode)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-TILE-WS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_TILE_WS()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_TILE_WS(info) ((info)-&gt;tile_ws)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-TILE-HS:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_TILE_HS()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_TILE_HS(info) ((info)-&gt;tile_hs)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMAT-INFO-IS-TILED:CAPS"></a><h3>GST_VIDEO_FORMAT_INFO_IS_TILED()</h3>
<pre class="programlisting">#define GST_VIDEO_FORMAT_INFO_IS_TILED(info)     ((info)-&gt;flags &amp; GST_VIDEO_FORMAT_FLAG_TILED)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-from-masks"></a><h3>gst_video_format_from_masks ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
gst_video_format_from_masks (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> depth</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> bpp</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> endianness</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> red_mask</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> green_mask</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> blue_mask</code></em>,
                             <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> alpha_mask</code></em>);</pre>
<p>Find the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> for the given parameters.</p>
<div class="refsect3">
<a name="gst-video-format-from-masks.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>depth</p></td>
<td class="parameter_description"><p>the amount of bits used for a pixel</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>bpp</p></td>
<td class="parameter_description"><p>the amount of bits used to store a pixel. This value is bigger than
<em class="parameter"><code>depth</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>endianness</p></td>
<td class="parameter_description"><p>the endianness of the masks, <a href="/usr/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html#G-LITTLE-ENDIAN:CAPS"><span class="type">G_LITTLE_ENDIAN</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Byte-Order-Macros.html#G-BIG-ENDIAN:CAPS"><span class="type">G_BIG_ENDIAN</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>red_mask</p></td>
<td class="parameter_description"><p>the red mask</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>green_mask</p></td>
<td class="parameter_description"><p>the green mask</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>blue_mask</p></td>
<td class="parameter_description"><p>the blue mask</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>alpha_mask</p></td>
<td class="parameter_description"><p>the alpha mask, or 0 if no alpha mask</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-from-masks.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> or GST_VIDEO_FORMAT_UNKNOWN when the parameters to
not specify a known format.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-from-fourcc"></a><h3>gst_video_format_from_fourcc ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
gst_video_format_from_fourcc (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="type">guint32</span></a> fourcc</code></em>);</pre>
<p>Converts a FOURCC value into the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a>.
If the FOURCC cannot be represented by <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a>,
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-UNKNOWN:CAPS"><span class="type">GST_VIDEO_FORMAT_UNKNOWN</span></a> is returned.</p>
<div class="refsect3">
<a name="gst-video-format-from-fourcc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>fourcc</p></td>
<td class="parameter_description"><p>a FOURCC value representing raw YUV video</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-from-fourcc.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> describing the FOURCC value</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-to-fourcc"></a><h3>gst_video_format_to_fourcc ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint32"><span class="returnvalue">guint32</span></a>
gst_video_format_to_fourcc (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>);</pre>
<p>Converts a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> value into the corresponding FOURCC.  Only
a few YUV formats have corresponding FOURCC values.  If <em class="parameter"><code>format</code></em>
 has
no corresponding FOURCC value, 0 is returned.</p>
<div class="refsect3">
<a name="gst-video-format-to-fourcc.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> video format</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-to-fourcc.returns"></a><h4>Returns</h4>
<p> the FOURCC corresponding to <em class="parameter"><code>format</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-from-string"></a><h3>gst_video_format_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="returnvalue">GstVideoFormat</span></a>
gst_video_format_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *format</code></em>);</pre>
<p>Convert the <em class="parameter"><code>format</code></em>
 string to its <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a>.</p>
<div class="refsect3">
<a name="gst-video-format-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a format string</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-from-string.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> for <em class="parameter"><code>format</code></em>
or GST_VIDEO_FORMAT_UNKNOWN when the
string is not a known format.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-to-string"></a><h3>gst_video_format_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_video_format_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>);</pre>
<p>Returns a string containing a descriptive name for
the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> if there is one, or NULL otherwise.</p>
<div class="refsect3">
<a name="gst-video-format-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> video format</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-to-string.returns"></a><h4>Returns</h4>
<p> the name corresponding to <em class="parameter"><code>format</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-get-palette"></a><h3>gst_video_format_get_palette ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gconstpointer"><span class="returnvalue">gconstpointer</span></a>
gst_video_format_get_palette (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>,
                              <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> *size</code></em>);</pre>
<p>Get the default palette of <em class="parameter"><code>format</code></em>
. This the palette used in the pack
function for paletted formats.</p>
<div class="refsect3">
<a name="gst-video-format-get-palette.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>size</p></td>
<td class="parameter_description"><p>size of the palette in bytes. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-get-palette.returns"></a><h4>Returns</h4>
<p>the default palette of <em class="parameter"><code>format</code></em>
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> when
<em class="parameter"><code>format</code></em>
does not have a palette. </p>
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-format-get-info"></a><h3>gst_video_format_get_info ()</h3>
<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="returnvalue">GstVideoFormatInfo</span></a> *
gst_video_format_get_info (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>);</pre>
<p>Get the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> for <em class="parameter"><code>format</code></em>
</p>
<div class="refsect3">
<a name="gst-video-format-get-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-format-get-info.returns"></a><h4>Returns</h4>
<p> The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> for <em class="parameter"><code>format</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CAPS-MAKE:CAPS"></a><h3>GST_VIDEO_CAPS_MAKE()</h3>
<pre class="programlisting">#define             GST_VIDEO_CAPS_MAKE(format)</pre>
<p>Generic caps string for video, for use in pad templates.</p>
<div class="refsect3">
<a name="GST-VIDEO-CAPS-MAKE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>string format that describes the pixel layout, as string
(e.g. "I420", "RGB", "YV12", "YUY2", "AYUV", etc.)</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CAPS-MAKE-WITH-FEATURES:CAPS"></a><h3>GST_VIDEO_CAPS_MAKE_WITH_FEATURES()</h3>
<pre class="programlisting">#define             GST_VIDEO_CAPS_MAKE_WITH_FEATURES(features,format)</pre>
<p>Generic caps string for video, for use in pad templates.</p>
<div class="refsect3">
<a name="GST-VIDEO-CAPS-MAKE-WITH-FEATURES.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>string format that describes the pixel layout, as string
(e.g. "I420", "RGB", "YV12", "YUY2", "AYUV", etc.)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>features</p></td>
<td class="parameter_description"><p>Requires caps features as a string, e.g.
"memory:SystemMemory".</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-color-range-offsets"></a><h3>gst_video_color_range_offsets ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_color_range_offsets (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange"><span class="type">GstVideoColorRange</span></a> range</code></em>,
                               <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *info</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> offset[GST_VIDEO_MAX_COMPONENTS]</code></em>,
                               <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> scale[GST_VIDEO_MAX_COMPONENTS]</code></em>);</pre>
<p>Compute the offset and scale values for each component of <em class="parameter"><code>info</code></em>
. For each
component, (c[i] - offset[i]) / scale[i] will scale the component c[i] to the
range [0.0 .. 1.0].</p>
<p>The reverse operation (c[i] * scale[i]) + offset[i] can be used to convert
the component values in range [0.0 .. 1.0] back to their representation in
<em class="parameter"><code>info</code></em>
 and <em class="parameter"><code>range</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-color-range-offsets.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>range</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange"><span class="type">GstVideoColorRange</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>offset</p></td>
<td class="parameter_description"><p>output offsets. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=4]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>scale</p></td>
<td class="parameter_description"><p>output scale. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Out parameter, where caller must allocate storage."><span class="acronym">out caller-allocates</span></acronym>][<acronym title="Parameter points to an array of items."><span class="acronym">array</span></acronym> fixed-size=4]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-color-matrix-get-Kr-Kb"></a><h3>gst_video_color_matrix_get_Kr_Kb ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_color_matrix_get_Kr_Kb (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix"><span class="type">GstVideoColorMatrix</span></a> matrix</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *Kr</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> *Kb</code></em>);</pre>
<p>Get the coefficients used to convert between Y'PbPr and R'G'B' using <em class="parameter"><code>matrix</code></em>
.</p>
<p>When:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2</pre></td>
        <td class="listing_code"><pre class="programlisting"><span class="number">0.0</span> <span class="gtkdoc opt">&lt;= [</span>Y<span class="string">&apos;,R&apos;</span><span class="gtkdoc opt">,</span>G<span class="string">&apos;,B&apos;</span><span class="gtkdoc opt">] &lt;=</span> <span class="number">1.0</span><span class="gtkdoc opt">)</span>
<span class="gtkdoc opt">(-</span><span class="number">0.5</span> <span class="gtkdoc opt">&lt;= [</span>Pb<span class="gtkdoc opt">,</span>Pr<span class="gtkdoc opt">] &lt;=</span> <span class="number">0.5</span><span class="gtkdoc opt">)</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>the general conversion is given by:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3</pre></td>
        <td class="listing_code"><pre class="programlisting">Y<span class="string">&apos; = Kr*R&apos;</span> <span class="gtkdoc opt">+ (</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)*</span>G<span class="string">&apos; + Kb*B&apos;</span>
Pb <span class="gtkdoc opt">= (</span>B<span class="string">&apos;-Y&apos;</span><span class="gtkdoc opt">)/(</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">))</span>
Pr <span class="gtkdoc opt">= (</span>R<span class="string">&apos;-Y&apos;</span><span class="gtkdoc opt">)/(</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">))</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>and the other way around:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3</pre></td>
        <td class="listing_code"><pre class="programlisting">R<span class="string">&apos; = Y&apos;</span> <span class="gtkdoc opt">+</span> Cr<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">)</span>
G<span class="string">&apos; = Y&apos;</span> <span class="gtkdoc opt">-</span> Cb<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)*</span>Kb<span class="gtkdoc opt">/(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">) -</span> Cr<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">)*</span>Kr<span class="gtkdoc opt">/(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kr<span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)</span>
B<span class="string">&apos; = Y&apos;</span> <span class="gtkdoc opt">+</span> Cb<span class="gtkdoc opt">*</span><span class="number">2</span><span class="gtkdoc opt">*(</span><span class="number">1</span><span class="gtkdoc opt">-</span>Kb<span class="gtkdoc opt">)</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<div class="refsect3">
<a name="gst-video-color-matrix-get-Kr-Kb.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>matrix</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix"><span class="type">GstVideoColorMatrix</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>Kr</p></td>
<td class="parameter_description"><p>result red channel coefficient. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>Kb</p></td>
<td class="parameter_description"><p>result blue channel coefficient. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-color-matrix-get-Kr-Kb.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>matrix</code></em>
was a YUV color format and <em class="parameter"><code>Kr</code></em>
and <em class="parameter"><code>Kb</code></em>
contain valid
values.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-color-transfer-decode"></a><h3>gst_video_color_transfer_decode ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
gst_video_color_transfer_decode (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a> func</code></em>,
                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> val</code></em>);</pre>
<p>Convert <em class="parameter"><code>val</code></em>
 to its gamma decoded value. This is the inverse operation of
<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-color-transfer-encode" title="gst_video_color_transfer_encode ()"><code class="function">gst_video_color_transfer_encode()</code></a></code></em>
.</p>
<p>For a non-linear value L' in the range [0..1], conversion to the linear
L is in general performed with a power function like:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1</pre></td>
        <td class="listing_code"><pre class="programlisting">L <span class="gtkdoc opt">=</span> L<span class="string">&apos; ^ gamma</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>Depending on <em class="parameter"><code>func</code></em>
, different formulas might be applied. Some formulas
encode a linear segment in the lower range.</p>
<div class="refsect3">
<a name="gst-video-color-transfer-decode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>val</p></td>
<td class="parameter_description"><p>a value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-color-transfer-decode.returns"></a><h4>Returns</h4>
<p> the gamme decoded value of <em class="parameter"><code>val</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-color-transfer-encode"></a><h3>gst_video_color_transfer_encode ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>
gst_video_color_transfer_encode (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a> func</code></em>,
                                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> val</code></em>);</pre>
<p>Convert <em class="parameter"><code>val</code></em>
 to its gamma encoded value.</p>
<p>For a linear value L in the range [0..1], conversion to the non-linear
(gamma encoded) L' is in general performed with a power function like:</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1</pre></td>
        <td class="listing_code"><pre class="programlisting">L<span class="string">&apos; = L ^ (1 / gamma)</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>Depending on <em class="parameter"><code>func</code></em>
, different formulas might be applied. Some formulas
encode a linear segment in the lower range.</p>
<div class="refsect3">
<a name="gst-video-color-transfer-encode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>func</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>val</p></td>
<td class="parameter_description"><p>a value</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-color-transfer-encode.returns"></a><h4>Returns</h4>
<p> the gamme encoded value of <em class="parameter"><code>val</code></em>
</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-color-primaries-get-info"></a><h3>gst_video_color_primaries_get_info ()</h3>
<pre class="programlisting">const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo"><span class="returnvalue">GstVideoColorPrimariesInfo</span></a> *
gst_video_color_primaries_get_info (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a> primaries</code></em>);</pre>
<p>Get information about the chromaticity coordinates of <em class="parameter"><code>primaries</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-color-primaries-get-info.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>primaries</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-color-primaries-get-info.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimariesInfo" title="GstVideoColorPrimariesInfo"><span class="type">GstVideoColorPrimariesInfo</span></a> for <em class="parameter"><code>primaries</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-colorimetry-matches"></a><h3>gst_video_colorimetry_matches ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_colorimetry_matches (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>,
                               <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *color</code></em>);</pre>
<p>Check if the colorimetry information in <em class="parameter"><code>info</code></em>
 matches that of the
string <em class="parameter"><code>color</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-colorimetry-matches.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cinfo</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color</p></td>
<td class="parameter_description"><p>a colorimetry string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-colorimetry-matches.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>color</code></em>
conveys the same colorimetry info as the color
information in <em class="parameter"><code>info</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-colorimetry-is-equal"></a><h3>gst_video_colorimetry_is_equal ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_colorimetry_is_equal (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>,
                                <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *other</code></em>);</pre>
<p>Compare the 2 colorimetry sets for equality</p>
<div class="refsect3">
<a name="gst-video-colorimetry-is-equal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cinfo</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>other</p></td>
<td class="parameter_description"><p>another <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-colorimetry-is-equal.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>cinfo</code></em>
and <em class="parameter"><code>other</code></em>
are equal.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-colorimetry-from-string"></a><h3>gst_video_colorimetry_from_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_colorimetry_from_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>,
                                   <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *color</code></em>);</pre>
<p>Parse the colorimetry string and update <em class="parameter"><code>cinfo</code></em>
 with the parsed
values.</p>
<div class="refsect3">
<a name="gst-video-colorimetry-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>cinfo</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>color</p></td>
<td class="parameter_description"><p>a colorimetry string</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-colorimetry-from-string.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>color</code></em>
points to valid colorimetry info.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-colorimetry-to-string"></a><h3>gst_video_colorimetry_to_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_video_colorimetry_to_string (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> *cinfo</code></em>);</pre>
<p>Make a string representation of <em class="parameter"><code>cinfo</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-colorimetry-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>cinfo</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-colorimetry-to-string.returns"></a><h4>Returns</h4>
<p> a string representation of <em class="parameter"><code>cinfo</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FORMAT:CAPS"></a><h3>GST_VIDEO_INFO_FORMAT()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FORMAT(i)         (GST_VIDEO_FORMAT_INFO_FORMAT((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-NAME:CAPS"></a><h3>GST_VIDEO_INFO_NAME()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_NAME(i)           (GST_VIDEO_FORMAT_INFO_NAME((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-IS-YUV:CAPS"></a><h3>GST_VIDEO_INFO_IS_YUV()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_IS_YUV(i)         (GST_VIDEO_FORMAT_INFO_IS_YUV((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-IS-RGB:CAPS"></a><h3>GST_VIDEO_INFO_IS_RGB()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_IS_RGB(i)         (GST_VIDEO_FORMAT_INFO_IS_RGB((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-IS-GRAY:CAPS"></a><h3>GST_VIDEO_INFO_IS_GRAY()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_IS_GRAY(i)        (GST_VIDEO_FORMAT_INFO_IS_GRAY((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-HAS-ALPHA:CAPS"></a><h3>GST_VIDEO_INFO_HAS_ALPHA()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_HAS_ALPHA(i)      (GST_VIDEO_FORMAT_INFO_HAS_ALPHA((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-INTERLACE-MODE:CAPS"></a><h3>GST_VIDEO_INFO_INTERLACE_MODE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_INTERLACE_MODE(i) ((i)-&gt;interlace_mode)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-IS-INTERLACED:CAPS"></a><h3>GST_VIDEO_INFO_IS_INTERLACED()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_IS_INTERLACED(i)  ((i)-&gt;interlace_mode != GST_VIDEO_INTERLACE_MODE_PROGRESSIVE)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FIELD-HEIGHT:CAPS"></a><h3>GST_VIDEO_INFO_FIELD_HEIGHT()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FIELD_HEIGHT(i)   ((i)-&gt;interlace_mode == GST_VIDEO_INTERLACE_MODE_ALTERNATE? (i)-&gt;height / 2 : (i)-&gt;height)
</pre>
<p>The height of a field. It's the height of the full frame unless split-field
(alternate) interlacing is in use.</p>
<p class="since">Since: 1.16.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FIELD-ORDER:CAPS"></a><h3>GST_VIDEO_INFO_FIELD_ORDER()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FIELD_ORDER(i)    ((i)-&gt;ABI.abi.field_order)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FIELD-RATE-N:CAPS"></a><h3>GST_VIDEO_INFO_FIELD_RATE_N()</h3>
<pre class="programlisting">#define             GST_VIDEO_INFO_FIELD_RATE_N(i)</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FLAGS:CAPS"></a><h3>GST_VIDEO_INFO_FLAGS()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FLAGS(i)          ((i)-&gt;flags)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-WIDTH:CAPS"></a><h3>GST_VIDEO_INFO_WIDTH()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_WIDTH(i)          ((i)-&gt;width)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-HEIGHT:CAPS"></a><h3>GST_VIDEO_INFO_HEIGHT()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_HEIGHT(i)         ((i)-&gt;height)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-SIZE:CAPS"></a><h3>GST_VIDEO_INFO_SIZE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_SIZE(i)           ((i)-&gt;size)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-VIEWS:CAPS"></a><h3>GST_VIDEO_INFO_VIEWS()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_VIEWS(i)          ((i)-&gt;views)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-PAR-N:CAPS"></a><h3>GST_VIDEO_INFO_PAR_N()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_PAR_N(i)          ((i)-&gt;par_n)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-PAR-D:CAPS"></a><h3>GST_VIDEO_INFO_PAR_D()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_PAR_D(i)          ((i)-&gt;par_d)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FPS-N:CAPS"></a><h3>GST_VIDEO_INFO_FPS_N()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FPS_N(i)          ((i)-&gt;fps_n)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FPS-D:CAPS"></a><h3>GST_VIDEO_INFO_FPS_D()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FPS_D(i)          ((i)-&gt;fps_d)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FLAG-IS-SET:CAPS"></a><h3>GST_VIDEO_INFO_FLAG_IS_SET()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FLAG_IS_SET(i,flag) ((GST_VIDEO_INFO_FLAGS(i) &amp; (flag)) == (flag))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FLAG-SET:CAPS"></a><h3>GST_VIDEO_INFO_FLAG_SET()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FLAG_SET(i,flag)    (GST_VIDEO_INFO_FLAGS(i) |= (flag))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-FLAG-UNSET:CAPS"></a><h3>GST_VIDEO_INFO_FLAG_UNSET()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_FLAG_UNSET(i,flag)  (GST_VIDEO_INFO_FLAGS(i) &amp;= ~(flag))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-N-PLANES:CAPS"></a><h3>GST_VIDEO_INFO_N_PLANES()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_N_PLANES(i)       (GST_VIDEO_FORMAT_INFO_N_PLANES((i)-&gt;finfo))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-PLANE-OFFSET:CAPS"></a><h3>GST_VIDEO_INFO_PLANE_OFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_PLANE_OFFSET(i,p) ((i)-&gt;offset[p])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-PLANE-STRIDE:CAPS"></a><h3>GST_VIDEO_INFO_PLANE_STRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_PLANE_STRIDE(i,p) ((i)-&gt;stride[p])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-N-COMPONENTS:CAPS"></a><h3>GST_VIDEO_INFO_N_COMPONENTS()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_N_COMPONENTS(i)   GST_VIDEO_FORMAT_INFO_N_COMPONENTS((i)-&gt;finfo)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-DEPTH:CAPS"></a><h3>GST_VIDEO_INFO_COMP_DEPTH()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_DEPTH(i,c)   GST_VIDEO_FORMAT_INFO_DEPTH((i)-&gt;finfo,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-DATA:CAPS"></a><h3>GST_VIDEO_INFO_COMP_DATA()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_DATA(i,d,c)  GST_VIDEO_FORMAT_INFO_DATA((i)-&gt;finfo,d,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-OFFSET:CAPS"></a><h3>GST_VIDEO_INFO_COMP_OFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_OFFSET(i,c)  GST_VIDEO_FORMAT_INFO_OFFSET((i)-&gt;finfo,(i)-&gt;offset,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-STRIDE:CAPS"></a><h3>GST_VIDEO_INFO_COMP_STRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_STRIDE(i,c)  GST_VIDEO_FORMAT_INFO_STRIDE((i)-&gt;finfo,(i)-&gt;stride,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-WIDTH:CAPS"></a><h3>GST_VIDEO_INFO_COMP_WIDTH()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_WIDTH(i,c)   GST_VIDEO_FORMAT_INFO_SCALE_WIDTH((i)-&gt;finfo,(c),(i)-&gt;width)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-HEIGHT:CAPS"></a><h3>GST_VIDEO_INFO_COMP_HEIGHT()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_HEIGHT(i,c)  GST_VIDEO_FORMAT_INFO_SCALE_HEIGHT((i)-&gt;finfo,(c),GST_VIDEO_INFO_FIELD_HEIGHT(i))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-PLANE:CAPS"></a><h3>GST_VIDEO_INFO_COMP_PLANE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_PLANE(i,c)   GST_VIDEO_FORMAT_INFO_PLANE((i)-&gt;finfo,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-PSTRIDE:CAPS"></a><h3>GST_VIDEO_INFO_COMP_PSTRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_PSTRIDE(i,c) GST_VIDEO_FORMAT_INFO_PSTRIDE((i)-&gt;finfo,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COMP-POFFSET:CAPS"></a><h3>GST_VIDEO_INFO_COMP_POFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COMP_POFFSET(i,c) GST_VIDEO_FORMAT_INFO_POFFSET((i)-&gt;finfo,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-CHROMA-SITE:CAPS"></a><h3>GST_VIDEO_INFO_CHROMA_SITE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_CHROMA_SITE(i) ((i)-&gt;chroma_site)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-COLORIMETRY:CAPS"></a><h3>GST_VIDEO_INFO_COLORIMETRY()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_COLORIMETRY(i) ((i)-&gt;colorimetry)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-MULTIVIEW-FLAGS:CAPS"></a><h3>GST_VIDEO_INFO_MULTIVIEW_FLAGS()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_MULTIVIEW_FLAGS(i)          ((i)-&gt;ABI.abi.multiview_flags)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-INFO-MULTIVIEW-MODE:CAPS"></a><h3>GST_VIDEO_INFO_MULTIVIEW_MODE()</h3>
<pre class="programlisting">#define GST_VIDEO_INFO_MULTIVIEW_MODE(i)          ((i)-&gt;ABI.abi.multiview_mode)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-init"></a><h3>gst_video_info_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_info_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre>
<p>Initialize <em class="parameter"><code>info</code></em>
 with default values.</p>
<div class="refsect3">
<a name="gst-video-info-init.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-new"></a><h3>gst_video_info_new ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> *
gst_video_info_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Allocate a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> that is also initialized with
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-init" title="gst_video_info_init ()"><code class="function">gst_video_info_init()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-info-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a>. free with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-free" title="gst_video_info_free ()"><code class="function">gst_video_info_free()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-copy"></a><h3>gst_video_info_copy ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="returnvalue">GstVideoInfo</span></a> *
gst_video_info_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre>
<p>Copy a GstVideoInfo structure.</p>
<div class="refsect3">
<a name="gst-video-info-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a>. free with gst_video_info_free.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-free"></a><h3>gst_video_info_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_info_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre>
<p>Free a GstVideoInfo structure previously allocated with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-new" title="gst_video_info_new ()"><code class="function">gst_video_info_new()</code></a>
or <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-copy" title="gst_video_info_copy ()"><code class="function">gst_video_info_copy()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-info-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-set-format"></a><h3>gst_video_info_set_format ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_info_set_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                           <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
                           <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
<p>Set the default info for a video frame of <em class="parameter"><code>format</code></em>
 and <em class="parameter"><code>width</code></em>
 and <em class="parameter"><code>height</code></em>
.</p>
<p>Note: This initializes <em class="parameter"><code>info</code></em>
 first, no values are preserved. This function
does not set the offsets correctly for interlaced vertically
subsampled formats.</p>
<div class="refsect3">
<a name="gst-video-info-set-format.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>the format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>a width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>a height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-set-format.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the returned video info is invalid, e.g. because the
size of a frame can't be represented as a 32 bit integer (Since: 1.12)</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-set-interlaced-format"></a><h3>gst_video_info_set_interlaced_format ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_info_set_interlaced_format (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                                      <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> format</code></em>,
                                      <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> mode</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
                                      <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>);</pre>
<p>Same as <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-set-format" title="gst_video_info_set_format ()"><span class="type">gst_video_info_set_format</span></a> but also allowing to set the interlaced
mode.</p>
<div class="refsect3">
<a name="gst-video-info-set-interlaced-format.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>format</p></td>
<td class="parameter_description"><p>the format</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>a width</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>a height</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-set-interlaced-format.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if the returned video info is invalid, e.g. because the
size of a frame can't be represented as a 32 bit integer.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-from-caps"></a><h3>gst_video_info_from_caps ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_info_from_caps (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                          <em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> *caps</code></em>);</pre>
<p>Parse <em class="parameter"><code>caps</code></em>
 and update <em class="parameter"><code>info</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-info-from-caps.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>caps</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-from-caps.returns"></a><h4>Returns</h4>
<p> TRUE if <em class="parameter"><code>caps</code></em>
could be parsed</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-to-caps"></a><h3>gst_video_info_to_caps ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="returnvalue">GstCaps</span></a> *
gst_video_info_to_caps (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>);</pre>
<p>Convert the values of <em class="parameter"><code>info</code></em>
 into a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a>.</p>
<div class="refsect3">
<a name="gst-video-info-to-caps.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-to-caps.returns"></a><h4>Returns</h4>
<p> a new <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> containing the info of <em class="parameter"><code>info</code></em>
.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-convert"></a><h3>gst_video_info_convert ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_info_convert (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> src_format</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> src_value</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> dest_format</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *dest_value</code></em>);</pre>
<p>Converts among various <a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> types.  This function handles
GST_FORMAT_BYTES, GST_FORMAT_TIME, and GST_FORMAT_DEFAULT.  For
raw video, GST_FORMAT_DEFAULT corresponds to video frames.  This
function can be used to handle pad queries of the type GST_QUERY_CONVERT.</p>
<div class="refsect3">
<a name="gst-video-info-convert.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src_format</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> of the <em class="parameter"><code>src_value</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src_value</p></td>
<td class="parameter_description"><p>value to convert</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_format</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/gstreamer-GstFormat.html#GstFormat"><span class="type">GstFormat</span></a> of the <em class="parameter"><code>dest_value</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_value</p></td>
<td class="parameter_description"><p>pointer to destination value. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-convert.returns"></a><h4>Returns</h4>
<p> TRUE if the conversion was successful.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-is-equal"></a><h3>gst_video_info_is_equal ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_info_is_equal (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                         <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *other</code></em>);</pre>
<p>Compares two <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> and returns whether they are equal or not</p>
<div class="refsect3">
<a name="gst-video-info-is-equal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>other</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-is-equal.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>info</code></em>
and <em class="parameter"><code>other</code></em>
are equal, else <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-info-align"></a><h3>gst_video_info_align ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_info_align (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                      <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoAlignment" title="struct GstVideoAlignment"><span class="type">GstVideoAlignment</span></a> *align</code></em>);</pre>
<p>Adjust the offset and stride fields in <em class="parameter"><code>info</code></em>
 so that the padding and
stride alignment in <em class="parameter"><code>align</code></em>
 is respected.</p>
<p>Extra padding will be added to the right side when stride alignment padding
is required and <em class="parameter"><code>align</code></em>
 will be updated with the new padding values.</p>
<div class="refsect3">
<a name="gst-video-info-align.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>align</p></td>
<td class="parameter_description"><p>alignment parameters</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-info-align.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if alignment could not be applied, e.g. because the
size of a frame can't be represented as a 32 bit integer (Since: 1.12)</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-interlace-mode-from-string"></a><h3>gst_video_interlace_mode_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="returnvalue">GstVideoInterlaceMode</span></a>
gst_video_interlace_mode_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *mode</code></em>);</pre>
<p>Convert <em class="parameter"><code>mode</code></em>
 to a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a></p>
<div class="refsect3">
<a name="gst-video-interlace-mode-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a mode</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-interlace-mode-from-string.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> of <em class="parameter"><code>mode</code></em>
or
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-INTERLACE-MODE-PROGRESSIVE:CAPS"><span class="type">GST_VIDEO_INTERLACE_MODE_PROGRESSIVE</span></a> when <em class="parameter"><code>mode</code></em>
is not a valid
string representation for a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-interlace-mode-to-string"></a><h3>gst_video_interlace_mode_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_video_interlace_mode_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> mode</code></em>);</pre>
<p>Convert <em class="parameter"><code>mode</code></em>
 to its string representation.</p>
<div class="refsect3">
<a name="gst-video-interlace-mode-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-interlace-mode-to-string.returns"></a><h4>Returns</h4>
<p> <em class="parameter"><code>mode</code></em>
as a string or NULL if <em class="parameter"><code>mode</code></em>
in invalid.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-field-order-from-string"></a><h3>gst_video_field_order_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="returnvalue">GstVideoFieldOrder</span></a>
gst_video_field_order_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *order</code></em>);</pre>
<p>Convert <em class="parameter"><code>order</code></em>
 to a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a></p>
<div class="refsect3">
<a name="gst-video-field-order-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>order</p></td>
<td class="parameter_description"><p>a field order</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-field-order-from-string.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a> of <em class="parameter"><code>order</code></em>
or
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FIELD-ORDER-UNKNOWN:CAPS"><span class="type">GST_VIDEO_FIELD_ORDER_UNKNOWN</span></a> when <em class="parameter"><code>order</code></em>
is not a valid
string representation for a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-field-order-to-string"></a><h3>gst_video_field_order_to_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_video_field_order_to_string (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a> order</code></em>);</pre>
<p>Convert <em class="parameter"><code>order</code></em>
 to its string representation.</p>
<div class="refsect3">
<a name="gst-video-field-order-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>order</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFieldOrder" title="enum GstVideoFieldOrder"><span class="type">GstVideoFieldOrder</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-field-order-to-string.returns"></a><h4>Returns</h4>
<p> <em class="parameter"><code>order</code></em>
as a string or NULL if <em class="parameter"><code>order</code></em>
in invalid.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-frame-map-id"></a><h3>gst_video_frame_map_id ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_frame_map_id (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>,
                        <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *buffer</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> id</code></em>,
                        <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a> flags</code></em>);</pre>
<p>Use <em class="parameter"><code>info</code></em>
 and <em class="parameter"><code>buffer</code></em>
 to fill in the values of <em class="parameter"><code>frame</code></em>
 with the video frame
information of frame <em class="parameter"><code>id</code></em>
.</p>
<p>When <em class="parameter"><code>id</code></em>
 is -1, the default frame is mapped. When <em class="parameter"><code>id</code></em>
 != -1, this function
will return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> when there is no GstVideoMeta with that id.</p>
<p>All video planes of <em class="parameter"><code>buffer</code></em>
 will be mapped and the pointers will be set in
<em class="parameter"><code>frame-&gt;data</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-frame-map-id.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>frame</p></td>
<td class="parameter_description"><p>pointer to <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buffer</p></td>
<td class="parameter_description"><p>the buffer to map</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>id</p></td>
<td class="parameter_description"><p>the frame id to map</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-frame-map-id.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-frame-map"></a><h3>gst_video_frame_map ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_frame_map (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>,
                     <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *buffer</code></em>,
                     <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a> flags</code></em>);</pre>
<p>Use <em class="parameter"><code>info</code></em>
 and <em class="parameter"><code>buffer</code></em>
 to fill in the values of <em class="parameter"><code>frame</code></em>
. <em class="parameter"><code>frame</code></em>
 is usually
allocated on the stack, and you will pass the address to the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a>
structure allocated on the stack; <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a> will then fill in
the structures with the various video-specific information you need to access
the pixels of the video buffer. You can then use accessor macros such as
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-DATA:CAPS" title="GST_VIDEO_FRAME_COMP_DATA()"><code class="function">GST_VIDEO_FRAME_COMP_DATA()</code></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-DATA:CAPS" title="GST_VIDEO_FRAME_PLANE_DATA()"><code class="function">GST_VIDEO_FRAME_PLANE_DATA()</code></a>,
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-STRIDE:CAPS" title="GST_VIDEO_FRAME_COMP_STRIDE()"><code class="function">GST_VIDEO_FRAME_COMP_STRIDE()</code></a>, <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-STRIDE:CAPS" title="GST_VIDEO_FRAME_PLANE_STRIDE()"><code class="function">GST_VIDEO_FRAME_PLANE_STRIDE()</code></a> etc.
to get to the pixels.</p>
<div class="informalexample">
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
    <tbody>
      <tr>
        <td class="listing_lines" align="right"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19</pre></td>
        <td class="listing_code"><pre class="programlisting">GstVideoFrame vframe<span class="gtkdoc opt">;</span>
<span class="gtkdoc opt">...</span>
<span class="gtkdoc slc">// set RGB pixels to black one at a time</span>
<span class="keyword">if</span> <span class="gtkdoc opt">(</span><span class="function"><a href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map">gst_video_frame_map</a></span> <span class="gtkdoc opt">(&amp;</span>vframe<span class="gtkdoc opt">,</span> video_info<span class="gtkdoc opt">,</span> video_buffer<span class="gtkdoc opt">,</span> GST_MAP_WRITE<span class="gtkdoc opt">)) {</span>
  guint8 <span class="gtkdoc opt">*</span>pixels <span class="gtkdoc opt">=</span> <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-DATA:CAPS">GST_VIDEO_FRAME_PLANE_DATA</a></span> <span class="gtkdoc opt">(</span>vframe<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
  guint stride <span class="gtkdoc opt">=</span> <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-PLANE-STRIDE:CAPS">GST_VIDEO_FRAME_PLANE_STRIDE</a></span> <span class="gtkdoc opt">(</span>vframe<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>
  guint pixel_stride <span class="gtkdoc opt">=</span> <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FRAME-COMP-PSTRIDE:CAPS">GST_VIDEO_FRAME_COMP_PSTRIDE</a></span> <span class="gtkdoc opt">(</span>vframe<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">);</span>

  <span class="keyword">for</span> <span class="gtkdoc opt">(</span>h <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> h <span class="gtkdoc opt">&lt;</span> height<span class="gtkdoc opt">; ++</span>h<span class="gtkdoc opt">) {</span>
    <span class="keyword">for</span> <span class="gtkdoc opt">(</span>w <span class="gtkdoc opt">=</span> <span class="number">0</span><span class="gtkdoc opt">;</span> w <span class="gtkdoc opt">&lt;</span> width<span class="gtkdoc opt">; ++</span>w<span class="gtkdoc opt">) {</span>
      guint8 <span class="gtkdoc opt">*</span>pixel <span class="gtkdoc opt">=</span> pixels <span class="gtkdoc opt">+</span> h <span class="gtkdoc opt">*</span> stride <span class="gtkdoc opt">+</span> w <span class="gtkdoc opt">*</span> pixel_stride<span class="gtkdoc opt">;</span>

      <span class="function">memset</span> <span class="gtkdoc opt">(</span>pixel<span class="gtkdoc opt">,</span> <span class="number">0</span><span class="gtkdoc opt">,</span> pixel_stride<span class="gtkdoc opt">);</span>
    <span class="gtkdoc opt">}</span>
  <span class="gtkdoc opt">}</span>

  <span class="function"><a href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-unmap">gst_video_frame_unmap</a></span> <span class="gtkdoc opt">(&amp;</span>vframe<span class="gtkdoc opt">);</span>
<span class="gtkdoc opt">}</span>
<span class="gtkdoc opt">...</span></pre></td>
      </tr>
    </tbody>
  </table>
</div>

<p></p>
<p>All video planes of <em class="parameter"><code>buffer</code></em>
 will be mapped and the pointers will be set in
<em class="parameter"><code>frame-&gt;data</code></em>
.</p>
<p>The purpose of this function is to make it easy for you to get to the video
pixels in a generic way, without you having to worry too much about details
such as whether the video data is allocated in one contiguous memory chunk
or multiple memory chunks (e.g. one for each plane); or if custom strides
and custom plane offsets are used or not (as signalled by GstVideoMeta on
each buffer). This function will just fill the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> structure
with the right values and if you use the accessor macros everything will
just work and you can access the data easily. It also maps the underlying
memory chunks for you.</p>
<div class="refsect3">
<a name="gst-video-frame-map.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>frame</p></td>
<td class="parameter_description"><p>pointer to <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>buffer</p></td>
<td class="parameter_description"><p>the buffer to map</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapFlags"><span class="type">GstMapFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-frame-map.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> on success.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-frame-unmap"></a><h3>gst_video_frame_unmap ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_frame_unmap (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *frame</code></em>);</pre>
<p>Unmap the memory previously mapped with gst_video_frame_map.</p>
<div class="refsect3">
<a name="gst-video-frame-unmap.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>frame</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-frame-copy"></a><h3>gst_video_frame_copy ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_frame_copy (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>,
                      <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>);</pre>
<p>Copy the contents from <em class="parameter"><code>src</code></em>
 to <em class="parameter"><code>dest</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-frame-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-frame-copy.returns"></a><h4>Returns</h4>
<p> TRUE if the contents could be copied.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-frame-copy-plane"></a><h3>gst_video_frame_copy_plane ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_frame_copy_plane (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>,
                            <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>,
                            <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> plane</code></em>);</pre>
<p>Copy the plane with index <em class="parameter"><code>plane</code></em>
 from <em class="parameter"><code>src</code></em>
 to <em class="parameter"><code>dest</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-frame-copy-plane.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>plane</p></td>
<td class="parameter_description"><p>a plane</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-frame-copy-plane.returns"></a><h4>Returns</h4>
<p> TRUE if the contents could be copied.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-FORMAT:CAPS"></a><h3>GST_VIDEO_FRAME_FORMAT()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_FORMAT(f)         (GST_VIDEO_INFO_FORMAT(&amp;(f)-&gt;info))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-WIDTH:CAPS"></a><h3>GST_VIDEO_FRAME_WIDTH()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_WIDTH(f)          (GST_VIDEO_INFO_WIDTH(&amp;(f)-&gt;info))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-HEIGHT:CAPS"></a><h3>GST_VIDEO_FRAME_HEIGHT()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_HEIGHT(f)         (GST_VIDEO_INFO_HEIGHT(&amp;(f)-&gt;info))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-SIZE:CAPS"></a><h3>GST_VIDEO_FRAME_SIZE()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_SIZE(f)           (GST_VIDEO_INFO_SIZE(&amp;(f)-&gt;info))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-FLAGS:CAPS"></a><h3>GST_VIDEO_FRAME_FLAGS()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_FLAGS(f)           ((f)-&gt;flags)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-FLAG-IS-SET:CAPS"></a><h3>GST_VIDEO_FRAME_FLAG_IS_SET()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_FLAG_IS_SET(f,fl)  ((GST_VIDEO_FRAME_FLAGS(f) &amp; (fl)) == (fl))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-IS-INTERLACED:CAPS"></a><h3>GST_VIDEO_FRAME_IS_INTERLACED()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_IS_INTERLACED(f)   (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_INTERLACED))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-IS-TFF:CAPS"></a><h3>GST_VIDEO_FRAME_IS_TFF()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_IS_TFF(f)          (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_TFF))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-IS-RFF:CAPS"></a><h3>GST_VIDEO_FRAME_IS_RFF()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_IS_RFF(f)          (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_RFF))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-IS-ONEFIELD:CAPS"></a><h3>GST_VIDEO_FRAME_IS_ONEFIELD()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_IS_ONEFIELD(f)     (GST_VIDEO_FRAME_FLAG_IS_SET(f, GST_VIDEO_FRAME_FLAG_ONEFIELD))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-N-PLANES:CAPS"></a><h3>GST_VIDEO_FRAME_N_PLANES()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_N_PLANES(f)       (GST_VIDEO_INFO_N_PLANES(&amp;(f)-&gt;info))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-PLANE-DATA:CAPS"></a><h3>GST_VIDEO_FRAME_PLANE_DATA()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_PLANE_DATA(f,p)   ((f)-&gt;data[p])
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-PLANE-OFFSET:CAPS"></a><h3>GST_VIDEO_FRAME_PLANE_OFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_PLANE_OFFSET(f,p) (GST_VIDEO_INFO_PLANE_OFFSET(&amp;(f)-&gt;info,(p)))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-PLANE-STRIDE:CAPS"></a><h3>GST_VIDEO_FRAME_PLANE_STRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_PLANE_STRIDE(f,p) (GST_VIDEO_INFO_PLANE_STRIDE(&amp;(f)-&gt;info,(p)))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-N-COMPONENTS:CAPS"></a><h3>GST_VIDEO_FRAME_N_COMPONENTS()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_N_COMPONENTS(f)   GST_VIDEO_INFO_N_COMPONENTS(&amp;(f)-&gt;info)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-DEPTH:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_DEPTH()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_DEPTH(f,c)   GST_VIDEO_INFO_COMP_DEPTH(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-DATA:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_DATA()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_DATA(f,c)    GST_VIDEO_INFO_COMP_DATA(&amp;(f)-&gt;info,(f)-&gt;data,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-STRIDE:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_STRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_STRIDE(f,c)  GST_VIDEO_INFO_COMP_STRIDE(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-OFFSET:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_OFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_OFFSET(f,c)  GST_VIDEO_INFO_COMP_OFFSET(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-WIDTH:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_WIDTH()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_WIDTH(f,c)   GST_VIDEO_INFO_COMP_WIDTH(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-HEIGHT:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_HEIGHT()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_HEIGHT(f,c)  GST_VIDEO_INFO_COMP_HEIGHT(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-PLANE:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_PLANE()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_PLANE(f,c)   GST_VIDEO_INFO_COMP_PLANE(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-PSTRIDE:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_PSTRIDE()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_PSTRIDE(f,c) GST_VIDEO_INFO_COMP_PSTRIDE(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FRAME-COMP-POFFSET:CAPS"></a><h3>GST_VIDEO_FRAME_COMP_POFFSET()</h3>
<pre class="programlisting">#define GST_VIDEO_FRAME_COMP_POFFSET(f,c) GST_VIDEO_INFO_COMP_POFFSET(&amp;(f)-&gt;info,(c))
</pre>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-tile-get-index"></a><h3>gst_video_tile_get_index ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
gst_video_tile_get_index (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode"><span class="type">GstVideoTileMode</span></a> mode</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x_tiles</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y_tiles</code></em>);</pre>
<p>Get the tile index of the tile at coordinates <em class="parameter"><code>x</code></em>
 and <em class="parameter"><code>y</code></em>
 in the tiled
image of <em class="parameter"><code>x_tiles</code></em>
 by <em class="parameter"><code>y_tiles</code></em>
.</p>
<p>Use this method when <em class="parameter"><code>mode</code></em>
 is of type <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-TILE-TYPE-INDEXED:CAPS"><code class="literal">GST_VIDEO_TILE_TYPE_INDEXED</code></a>.</p>
<div class="refsect3">
<a name="gst-video-tile-get-index.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode"><span class="type">GstVideoTileMode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>x coordinate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>y coordinate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x_tiles</p></td>
<td class="parameter_description"><p>number of horizintal tiles</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y_tiles</p></td>
<td class="parameter_description"><p>number of vertical tiles</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-tile-get-index.returns"></a><h4>Returns</h4>
<p> the index of the tile at <em class="parameter"><code>x</code></em>
and <em class="parameter"><code>y</code></em>
in the tiled image of
<em class="parameter"><code>x_tiles</code></em>
by <em class="parameter"><code>y_tiles</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix11.html#api-index-1.4">1.4</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-MAKE-MODE:CAPS"></a><h3>GST_VIDEO_TILE_MAKE_MODE()</h3>
<pre class="programlisting">#define             GST_VIDEO_TILE_MAKE_MODE(num, type)</pre>
<p>use this macro to create new tile modes.</p>
<div class="refsect3">
<a name="GST-VIDEO-TILE-MAKE-MODE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>num</p></td>
<td class="parameter_description"><p>the mode number to create</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>type</p></td>
<td class="parameter_description"><p>the tile mode type</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-MODE-TYPE:CAPS"></a><h3>GST_VIDEO_TILE_MODE_TYPE()</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_MODE_TYPE(mode)       ((mode) &amp; GST_VIDEO_TILE_TYPE_MASK)
</pre>
<p>Get the tile mode type of <em class="parameter"><code>mode</code></em>
</p>
<div class="refsect3">
<a name="GST-VIDEO-TILE-MODE-TYPE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>the tile mode</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-MODE-IS-INDEXED:CAPS"></a><h3>GST_VIDEO_TILE_MODE_IS_INDEXED()</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_MODE_IS_INDEXED(mode) (GST_VIDEO_TILE_MODE_TYPE(mode) == GST_VIDEO_TILE_TYPE_INDEXED)
</pre>
<p>Check if <em class="parameter"><code>mode</code></em>
 is an indexed tile type</p>
<div class="refsect3">
<a name="GST-VIDEO-TILE-MODE-IS-INDEXED.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>mode</p></td>
<td class="parameter_description"><p>a tile mode</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-MAKE-STRIDE:CAPS"></a><h3>GST_VIDEO_TILE_MAKE_STRIDE()</h3>
<pre class="programlisting">#define             GST_VIDEO_TILE_MAKE_STRIDE(x_tiles, y_tiles)</pre>
<p>Encode the number of tile in X and Y into the stride.</p>
<div class="refsect3">
<a name="GST-VIDEO-TILE-MAKE-STRIDE.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>x_tiles</p></td>
<td class="parameter_description"><p>number of tiles in X</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y_tiles</p></td>
<td class="parameter_description"><p>number of tiles in Y</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-X-TILES:CAPS"></a><h3>GST_VIDEO_TILE_X_TILES()</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_X_TILES(stride) ((stride) &amp; GST_VIDEO_TILE_X_TILES_MASK)
</pre>
<p>Extract the number of tiles in X from the stride value.</p>
<div class="refsect3">
<a name="GST-VIDEO-TILE-X-TILES.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stride</p></td>
<td class="parameter_description"><p>plane stride</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-Y-TILES:CAPS"></a><h3>GST_VIDEO_TILE_Y_TILES()</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_Y_TILES(stride) ((stride) &gt;&gt; GST_VIDEO_TILE_Y_TILES_SHIFT)
</pre>
<p>Extract the number of tiles in Y from the stride value.</p>
<div class="refsect3">
<a name="GST-VIDEO-TILE-Y-TILES.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>stride</p></td>
<td class="parameter_description"><p>plane stride</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-blend"></a><h3>gst_video_blend ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_blend (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>,
                 <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>,
                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> x</code></em>,
                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> y</code></em>,
                 <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a> global_alpha</code></em>);</pre>
<p>Lets you blend the <em class="parameter"><code>src</code></em>
 image into the <em class="parameter"><code>dest</code></em>
 image</p>
<div class="refsect3">
<a name="gst-video-blend.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> where to blend <em class="parameter"><code>src</code></em>
in</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> that we want to blend into</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>x</p></td>
<td class="parameter_description"><p>The x offset in pixel where the <em class="parameter"><code>src</code></em>
image should be blended</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>y</p></td>
<td class="parameter_description"><p>the y offset in pixel where the <em class="parameter"><code>src</code></em>
image should be blended</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>global_alpha</p></td>
<td class="parameter_description"><p>the global_alpha each per-pixel alpha value is multiplied
with</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-blend-scale-linear-RGBA"></a><h3>gst_video_blend_scale_linear_RGBA ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_blend_scale_linear_RGBA (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *src</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *src_buffer</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_height</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> dest_width</code></em>,
                                   <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *dest</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> **dest_buffer</code></em>);</pre>
<p>Scales a buffer containing RGBA (or AYUV) video. This is an internal
helper function which is used to scale subtitle overlays, and may be
deprecated in the near future. Use <a class="link" href="gst-plugins-base-libs-GstVideoScaler.html#GstVideoScaler" title="GstVideoScaler"><span class="type">GstVideoScaler</span></a> to scale video buffers
instead.</p>
<div class="refsect3">
<a name="gst-video-blend-scale-linear-RGBA.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> describing the video data in <em class="parameter"><code>src_buffer</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src_buffer</p></td>
<td class="parameter_description"><p>the source buffer containing video pixels to scale</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_height</p></td>
<td class="parameter_description"><p>the height in pixels to scale the video data in <em class="parameter"><code>src_buffer</code></em>
to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest_width</p></td>
<td class="parameter_description"><p>the width in pixels to scale the video data in <em class="parameter"><code>src_buffer</code></em>
to</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>pointer to a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> structure that will be filled in
with the details for <em class="parameter"><code>dest_buffer</code></em>
. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
<tr>
<td class="parameter_name"><p>dest_buffer</p></td>
<td class="parameter_description"><p>a pointer to a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> variable, which will be
set to a newly-allocated buffer containing the scaled pixels. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Parameter for returning results. Default is transfer full."><span class="acronym">out</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-converter-new"></a><h3>gst_video_converter_new ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="returnvalue">GstVideoConverter</span></a> *
gst_video_converter_new (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *in_info</code></em>,
                         <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *out_info</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
<p>Create a new converter object to convert between <em class="parameter"><code>in_info</code></em>
 and <em class="parameter"><code>out_info</code></em>

with <em class="parameter"><code>config</code></em>
.</p>
<p><span class="annotation">[<acronym title="Exposed in C code, not necessarily available in other languages."><span class="acronym">skip</span></acronym>]</span></p>
<div class="refsect3">
<a name="gst-video-converter-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>in_info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_info</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> with configuration options. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-converter-new.returns"></a><h4>Returns</h4>
<p> a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if conversion is not possible.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-converter-free"></a><h3>gst_video_converter_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_converter_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>);</pre>
<p>Free <em class="parameter"><code>convert</code></em>
</p>
<div class="refsect3">
<a name="gst-video-converter-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>convert</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-converter-get-config"></a><h3>gst_video_converter_get_config ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="returnvalue">GstStructure</span></a> *
gst_video_converter_get_config (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>);</pre>
<p>Get the current configuration of <em class="parameter"><code>convert</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-converter-get-config.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>convert</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-converter-get-config.returns"></a><h4>Returns</h4>
<p> a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> that remains valid for as long as <em class="parameter"><code>convert</code></em>
is valid
or until <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-set-config" title="gst_video_converter_set_config ()"><code class="function">gst_video_converter_set_config()</code></a> is called.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-converter-set-config"></a><h3>gst_video_converter_set_config ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_converter_set_config (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a> *config</code></em>);</pre>
<p>Set <em class="parameter"><code>config</code></em>
 as extra configuraion for <em class="parameter"><code>convert</code></em>
.</p>
<p>If the parameters in <em class="parameter"><code>config</code></em>
 can not be set exactly, this function returns
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> and will try to update as much state as possible. The new state can
then be retrieved and refined with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-converter-get-config" title="gst_video_converter_get_config ()"><code class="function">gst_video_converter_get_config()</code></a>.</p>
<p>Look at the <span class="type">GST_VIDEO_CONVERTER_OPT_</span>* fields to check valid configuration
option and values.</p>
<div class="refsect3">
<a name="gst-video-converter-set-config.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>convert</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>config</p></td>
<td class="parameter_description"><p>a <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstStructure.html#GstStructure-struct"><span class="type">GstStructure</span></a>. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-converter-set-config.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> when <em class="parameter"><code>config</code></em>
could be set.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-converter-frame"></a><h3>gst_video_converter_frame ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_converter_frame (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a> *convert</code></em>,
                           <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *src</code></em>,
                           <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a> *dest</code></em>);</pre>
<p>Convert the pixels of <em class="parameter"><code>src</code></em>
 into <em class="parameter"><code>dest</code></em>
 using <em class="parameter"><code>convert</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-converter-frame.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>convert</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoConverter" title="GstVideoConverter"><span class="type">GstVideoConverter</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dest</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>src</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrame" title="struct GstVideoFrame"><span class="type">GstVideoFrame</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-get-mono-modes"></a><h3>gst_video_multiview_get_mono_modes ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
gst_video_multiview_get_mono_modes (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-get-mono-modes.returns"></a><h4>Returns</h4>
<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of mono video modes</p>
<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of mono video
modes (mono/left/right) for use in caps negotiations.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-get-unpacked-modes"></a><h3>gst_video_multiview_get_unpacked_modes ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
gst_video_multiview_get_unpacked_modes
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-get-unpacked-modes.returns"></a><h4>Returns</h4>
<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of 'unpacked' stereo video modes</p>
<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of unpacked
stereo video modes (separated/frame-by-frame/frame-by-frame-multiview)
for use in caps negotiations.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-get-doubled-height-modes"></a><h3>gst_video_multiview_get_doubled_height_modes ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
gst_video_multiview_get_doubled_height_modes
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-get-doubled-height-modes.returns"></a><h4>Returns</h4>
<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of stereo video modes</p>
<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of packed stereo
video modes with double the height of a single view for use in
caps negotiations. Currently this is top-bottom and row-interleaved.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-get-doubled-size-modes"></a><h3>gst_video_multiview_get_doubled_size_modes ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
gst_video_multiview_get_doubled_size_modes
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-get-doubled-size-modes.returns"></a><h4>Returns</h4>
<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of stereo video modes</p>
<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of packed
stereo video modes that have double the width/height of a single
view for use in caps negotiation. Currently this is just
'checkerboard' layout.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-get-doubled-width-modes"></a><h3>gst_video_multiview_get_doubled_width_modes ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="returnvalue">GValue</span></a> *
gst_video_multiview_get_doubled_width_modes
                               (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-get-doubled-width-modes.returns"></a><h4>Returns</h4>
<p> A const <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> containing a list of stereo video modes</p>
<p>Utility function that returns a <a href="/usr/share/gtk-doc/html/gobject/gobject-Generic-values.html#GValue-struct"><span class="type">GValue</span></a> with a GstList of packed stereo
video modes with double the width of a single view for use in
caps negotiations. Currently this is side-by-side, side-by-side-quincunx
and column-interleaved.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-mode-from-caps-string"></a><h3>gst_video_multiview_mode_from_caps_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="returnvalue">GstVideoMultiviewMode</span></a>
gst_video_multiview_mode_from_caps_string
                               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *caps_mview_mode</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-mode-from-caps-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>caps_mview_mode</p></td>
<td class="parameter_description"><p>multiview-mode field string from caps</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-multiview-mode-from-caps-string.returns"></a><h4>Returns</h4>
<p> The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> value</p>
<p>Given a string from a caps multiview-mode field,
output the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a>
or <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MULTIVIEW-MODE-NONE:CAPS"><span class="type">GST_VIDEO_MULTIVIEW_MODE_NONE</span></a></p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-mode-to-caps-string"></a><h3>gst_video_multiview_mode_to_caps_string ()</h3>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_video_multiview_mode_to_caps_string
                               (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> mview_mode</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-mode-to-caps-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>mview_mode</p></td>
<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-multiview-mode-to-caps-string.returns"></a><h4>Returns</h4>
<p> The caps string representation of the mode, or NULL if invalid.</p>
<p>Given a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> returns the multiview-mode caps string
for insertion into a caps structure</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-guess-half-aspect"></a><h3>gst_video_multiview_guess_half_aspect ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_multiview_guess_half_aspect (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> mv_mode</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> width</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> height</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> par_n</code></em>,
                                       <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> par_d</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-multiview-guess-half-aspect.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>mv_mode</p></td>
<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>width</p></td>
<td class="parameter_description"><p>Video frame width in pixels</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>height</p></td>
<td class="parameter_description"><p>Video frame height in pixels</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>par_n</p></td>
<td class="parameter_description"><p>Numerator of the video pixel-aspect-ratio</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>par_d</p></td>
<td class="parameter_description"><p>Denominator of the video pixel-aspect-ratio</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-multiview-guess-half-aspect.returns"></a><h4>Returns</h4>
<p> A boolean indicating whether the
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MULTIVIEW-FLAGS-HALF-ASPECT:CAPS"><span class="type">GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT</span></a> flag should be set.</p>
<p>Utility function that heuristically guess whether a
frame-packed stereoscopic video contains half width/height
encoded views, or full-frame views by looking at the
overall display aspect ratio.</p>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-multiview-video-info-change-mode"></a><h3>gst_video_multiview_video_info_change_mode ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_multiview_video_info_change_mode
                               (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> *info</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> out_mview_mode</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a> out_mview_flags</code></em>);</pre>
<p>Utility function that transforms the width/height/PAR
and multiview mode and flags of a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> into
the requested mode.</p>
<div class="refsect3">
<a name="gst-video-multiview-video-info-change-mode.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>info</p></td>
<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> structure to operate on</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_mview_mode</p></td>
<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a> value</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>out_mview_flags</p></td>
<td class="parameter_description"><p>A set of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-new"></a><h3>gst_video_time_code_new ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *latest_daily_jam</code></em>,
                         <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>,
                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre>
<p><em class="parameter"><code>field_count</code></em>
 is 0 for progressive, 1 or 2 for interlaced.
<em class="parameter"><code>latest_daiy_jam</code></em>
 reference is stolen from caller.</p>
<div class="refsect3">
<a name="gst-video-time-code-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fps_n</p></td>
<td class="parameter_description"><p>Numerator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_d</p></td>
<td class="parameter_description"><p>Denominator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>latest_daily_jam</p></td>
<td class="parameter_description"><p>The latest daily jam of the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hours</p></td>
<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minutes</p></td>
<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>seconds</p></td>
<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>frames</p></td>
<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field_count</p></td>
<td class="parameter_description"><p>Interlaced video field count</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> with the given values.
The values are not checked for being in a valid range. To see if your
timecode actually has valid content, use <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()"><code class="function">gst_video_time_code_is_valid()</code></a>.</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-new-empty"></a><h3>gst_video_time_code_new_empty ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_new_empty (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-new-empty.returns"></a><h4>Returns</h4>
<p> a new empty, invalid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-free"></a><h3>gst_video_time_code_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<p>Frees <em class="parameter"><code>tc</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-time-code-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-copy"></a><h3>gst_video_time_code_copy ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> with the same values as <em class="parameter"><code>tc</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-init"></a><h3>gst_video_time_code_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *latest_daily_jam</code></em>,
                          <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>,
                          <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre>
<p><em class="parameter"><code>field_count</code></em>
 is 0 for progressive, 1 or 2 for interlaced.
<em class="parameter"><code>latest_daiy_jam</code></em>
 reference is stolen from caller.</p>
<p>Initializes <em class="parameter"><code>tc</code></em>
 with the given values.
The values are not checked for being in a valid range. To see if your
timecode actually has valid content, use <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()"><code class="function">gst_video_time_code_is_valid()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-time-code-init.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_n</p></td>
<td class="parameter_description"><p>Numerator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_d</p></td>
<td class="parameter_description"><p>Denominator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>latest_daily_jam</p></td>
<td class="parameter_description"><p>The latest daily jam of the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hours</p></td>
<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minutes</p></td>
<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>seconds</p></td>
<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>frames</p></td>
<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field_count</p></td>
<td class="parameter_description"><p>Interlaced video field count</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-init-from-date-time"></a><h3>gst_video_time_code_init_from_date_time ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_init_from_date_time
                               (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre>
<div class="warning"><p><code class="literal">gst_video_time_code_init_from_date_time</code> is deprecated and should not be used in newly-written code.</p></div>
<p>The resulting config-&gt;latest_daily_jam is set to midnight, and timecode is
set to the given time.</p>
<p>Will assert on invalid parameters, use <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-init-from-date-time-full" title="gst_video_time_code_init_from_date_time_full ()"><code class="function">gst_video_time_code_init_from_date_time_full()</code></a>
for being able to handle invalid parameters.</p>
<div class="refsect3">
<a name="gst-video-time-code-init-from-date-time.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>an uninitialized <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_n</p></td>
<td class="parameter_description"><p>Numerator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_d</p></td>
<td class="parameter_description"><p>Denominator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dt</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field_count</p></td>
<td class="parameter_description"><p>Interlaced video field count</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-init-from-date-time-full"></a><h3>gst_video_time_code_init_from_date_time_full ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_time_code_init_from_date_time_full
                               (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre>
<p>The resulting config-&gt;latest_daily_jam is set to
midnight, and timecode is set to the given time.</p>
<div class="refsect3">
<a name="gst-video-time-code-init-from-date-time-full.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_n</p></td>
<td class="parameter_description"><p>Numerator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_d</p></td>
<td class="parameter_description"><p>Denominator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dt</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field_count</p></td>
<td class="parameter_description"><p>Interlaced video field count</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-init-from-date-time-full.returns"></a><h4>Returns</h4>
<p> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>tc</code></em>
could be correctly initialized to a valid timecode</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-clear"></a><h3>gst_video_time_code_clear ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<p>Initializes <em class="parameter"><code>tc</code></em>
 with empty/zero/NULL values and frees any memory
it might currently use.</p>
<div class="refsect3">
<a name="gst-video-time-code-clear.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-is-valid"></a><h3>gst_video_time_code_is_valid ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
gst_video_time_code_is_valid (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-is-valid.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> to check</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-is-valid.returns"></a><h4>Returns</h4>
<p> whether <em class="parameter"><code>tc</code></em>
is a valid timecode (supported frame rate,
hours/minutes/seconds/frames not overflowing)</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-compare"></a><h3>gst_video_time_code_compare ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
gst_video_time_code_compare (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc1</code></em>,
                             <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc2</code></em>);</pre>
<p>Compares <em class="parameter"><code>tc1</code></em>
 and <em class="parameter"><code>tc2</code></em>
. If both have latest daily jam information, it is
taken into account. Otherwise, it is assumed that the daily jam of both
<em class="parameter"><code>tc1</code></em>
 and <em class="parameter"><code>tc2</code></em>
 was at the same time. Both time codes must be valid.</p>
<div class="refsect3">
<a name="gst-video-time-code-compare.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc1</p></td>
<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tc2</p></td>
<td class="parameter_description"><p>another valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-compare.returns"></a><h4>Returns</h4>
<p> 1 if <em class="parameter"><code>tc1</code></em>
is after <em class="parameter"><code>tc2</code></em>
, -1 if <em class="parameter"><code>tc1</code></em>
is before <em class="parameter"><code>tc2</code></em>
, 0 otherwise.</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-increment-frame"></a><h3>gst_video_time_code_increment_frame ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_increment_frame (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<p>Adds one frame to <em class="parameter"><code>tc</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-time-code-increment-frame.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-add-frames"></a><h3>gst_video_time_code_add_frames ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_add_frames (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> frames</code></em>);</pre>
<p>Adds or subtracts <em class="parameter"><code>frames</code></em>
 amount of frames to <em class="parameter"><code>tc</code></em>
. tc needs to
contain valid data, as verified by <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-is-valid" title="gst_video_time_code_is_valid ()"><code class="function">gst_video_time_code_is_valid()</code></a>.</p>
<div class="refsect3">
<a name="gst-video-time-code-add-frames.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>frames</p></td>
<td class="parameter_description"><p>How many frames to add or subtract</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-frames-since-daily-jam"></a><h3>gst_video_time_code_frames_since_daily_jam ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
gst_video_time_code_frames_since_daily_jam
                               (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-frames-since-daily-jam.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-frames-since-daily-jam.returns"></a><h4>Returns</h4>
<p> how many frames have passed since the daily jam of <em class="parameter"><code>tc</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-nsec-since-daily-jam"></a><h3>gst_video_time_code_nsec_since_daily_jam ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint64"><span class="returnvalue">guint64</span></a>
gst_video_time_code_nsec_since_daily_jam
                               (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-nsec-since-daily-jam.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-nsec-since-daily-jam.returns"></a><h4>Returns</h4>
<p> how many nsec have passed since the daily jam of <em class="parameter"><code>tc</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-to-date-time"></a><h3>gst_video_time_code_to_date_time ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="returnvalue">GDateTime</span></a> *
gst_video_time_code_to_date_time (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<p>The <em class="parameter"><code>tc.config-&gt;latest_daily_jam</code></em>
 is required to be non-NULL.</p>
<div class="refsect3">
<a name="gst-video-time-code-to-date-time.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>A valid <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> to convert</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-to-date-time.returns"></a><h4>Returns</h4>
<p>the <a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> representation of <em class="parameter"><code>tc</code></em>
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>tc</code></em>
has no daily jam. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-to-string"></a><h3>gst_video_time_code_to_string ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
gst_video_time_code_to_string (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-to-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>A <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> to convert</p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-to-string.returns"></a><h4>Returns</h4>
<p> the SMPTE ST 2059-1:2015 string representation of <em class="parameter"><code>tc</code></em>
. That will
take the form hh:mm:ss:ff. The last separator (between seconds and frames)
may vary:</p>
<p>';' for drop-frame, non-interlaced content and for drop-frame interlaced
field 2
',' for drop-frame interlaced field 1
':' for non-drop-frame, non-interlaced content and for non-drop-frame
interlaced field 2
'.' for non-drop-frame interlaced field 1</p>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-add-interval"></a><h3>gst_video_time_code_add_interval ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_add_interval (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> *tc</code></em>,
                                  <em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc_inter</code></em>);</pre>
<p>This makes a component-wise addition of <em class="parameter"><code>tc_inter</code></em>
 to <em class="parameter"><code>tc</code></em>
. For example,
adding ("01:02:03:04", "00:01:00:00") will return "01:03:03:04".
When it comes to drop-frame timecodes,
adding ("00:00:00;00", "00:01:00:00") will return "00:01:00;02"
because of drop-frame oddities. However,
adding ("00:09:00;02", "00:01:00:00") will return "00:10:00;00"
because this time we can have an exact minute.</p>
<div class="refsect3">
<a name="gst-video-time-code-add-interval.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> where the diff should be added. This
must contain valid timecode values.</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>tc_inter</p></td>
<td class="parameter_description"><p>The <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> to add to <em class="parameter"><code>tc</code></em>
.
The interval must contain valid values, except that for drop-frame
timecode, it may also contain timecodes which would normally
be dropped. These are then corrected to the next reasonable timecode.</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-add-interval.returns"></a><h4>Returns</h4>
<p>A new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> with <em class="parameter"><code>tc_inter</code></em>
added or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
if the interval can't be added. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-new-from-string"></a><h3>gst_video_time_code_new_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_new_from_string (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tc_str</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-new-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc_str</p></td>
<td class="parameter_description"><p>The string that represents the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-new-from-string.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> from the given string or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>
if the string could not be passed. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-new-from-date-time"></a><h3>gst_video_time_code_new_from_date_time ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_new_from_date_time
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre>
<div class="warning"><p><code class="literal">gst_video_time_code_new_from_date_time</code> is deprecated and should not be used in newly-written code.</p></div>
<p>The resulting config-&gt;latest_daily_jam is set to
midnight, and timecode is set to the given time.</p>
<p>This might return a completely invalid timecode, use
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-time-code-new-from-date-time-full" title="gst_video_time_code_new_from_date_time_full ()"><code class="function">gst_video_time_code_new_from_date_time_full()</code></a> to ensure
that you would get <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> instead in that case.</p>
<div class="refsect3">
<a name="gst-video-time-code-new-from-date-time.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fps_n</p></td>
<td class="parameter_description"><p>Numerator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_d</p></td>
<td class="parameter_description"><p>Denominator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dt</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field_count</p></td>
<td class="parameter_description"><p>Interlaced video field count</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-new-from-date-time.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> representation of <em class="parameter"><code>dt</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-new-from-date-time-full"></a><h3>gst_video_time_code_new_from_date_time_full ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="returnvalue">GstVideoTimeCode</span></a> *
gst_video_time_code_new_from_date_time_full
                               (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_n</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> fps_d</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *dt</code></em>,
                                <em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> flags</code></em>,
                                <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> field_count</code></em>);</pre>
<p>The resulting config-&gt;latest_daily_jam is set to
midnight, and timecode is set to the given time.</p>
<div class="refsect3">
<a name="gst-video-time-code-new-from-date-time-full.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>fps_n</p></td>
<td class="parameter_description"><p>Numerator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>fps_d</p></td>
<td class="parameter_description"><p>Denominator of the frame rate</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>dt</p></td>
<td class="parameter_description"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> to convert</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>flags</p></td>
<td class="parameter_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>field_count</p></td>
<td class="parameter_description"><p>Interlaced video field count</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-new-from-date-time-full.returns"></a><h4>Returns</h4>
<p> the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> representation of <em class="parameter"><code>dt</code></em>
, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if
no valid timecode could be created.</p>
</div>
<p class="since">Since: <a class="link" href="ix03.html#api-index-1.16">1.16</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-interval-new"></a><h3>gst_video_time_code_interval_new ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> *
gst_video_time_code_interval_new (<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>,
                                  <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-interval-new.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>hours</p></td>
<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minutes</p></td>
<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>seconds</p></td>
<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>frames</p></td>
<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-interval-new.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> with the given values.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-interval-new-from-string"></a><h3>gst_video_time_code_interval_new_from_string ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> *
gst_video_time_code_interval_new_from_string
                               (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *tc_inter_str</code></em>);</pre>
<p><em class="parameter"><code>tc_inter_str</code></em>
 must only have ":" as separators.</p>
<div class="refsect3">
<a name="gst-video-time-code-interval-new-from-string.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc_inter_str</p></td>
<td class="parameter_description"><p>The string that represents the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-interval-new-from-string.returns"></a><h4>Returns</h4>
<p>a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> from the given string
or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if the string could not be passed. </p>
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-interval-init"></a><h3>gst_video_time_code_interval_init ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_interval_init (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> hours</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> minutes</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> seconds</code></em>,
                                   <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> frames</code></em>);</pre>
<p>Initializes <em class="parameter"><code>tc</code></em>
 with the given values.</p>
<div class="refsect3">
<a name="gst-video-time-code-interval-init.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>hours</p></td>
<td class="parameter_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>minutes</p></td>
<td class="parameter_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>seconds</p></td>
<td class="parameter_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>frames</p></td>
<td class="parameter_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-interval-clear"></a><h3>gst_video_time_code_interval_clear ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_interval_clear (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>);</pre>
<p>Initializes <em class="parameter"><code>tc</code></em>
 with empty/zero/NULL values.</p>
<div class="refsect3">
<a name="gst-video-time-code-interval-clear.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-interval-copy"></a><h3>gst_video_time_code_interval_copy ()</h3>
<pre class="programlisting"><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="returnvalue">GstVideoTimeCodeInterval</span></a> *
gst_video_time_code_interval_copy (<em class="parameter"><code>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>);</pre>
<div class="refsect3">
<a name="gst-video-time-code-interval-copy.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="gst-video-time-code-interval-copy.returns"></a><h4>Returns</h4>
<p> a new <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> with the same values as <em class="parameter"><code>tc</code></em>
.</p>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="gst-video-time-code-interval-free"></a><h3>gst_video_time_code_interval_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
gst_video_time_code_interval_free (<em class="parameter"><code><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a> *tc</code></em>);</pre>
<p>Frees <em class="parameter"><code>tc</code></em>
.</p>
<div class="refsect3">
<a name="gst-video-time-code-interval-free.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>tc</p></td>
<td class="parameter_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
</div>
<div class="refsect1">
<a name="gst-plugins-base-libs-GstVideo.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="GstVideoAlignment"></a><h3>struct GstVideoAlignment</h3>
<pre class="programlisting">struct GstVideoAlignment {
  guint padding_top;
  guint padding_bottom;
  guint padding_left;
  guint padding_right;
  guint stride_align[GST_VIDEO_MAX_PLANES];
};
</pre>
<p>Extra alignment parameters for the memory of video buffers. This
structure is usually used to configure the bufferpool if it supports the
<a class="link" href="gst-plugins-base-libs-GstVideoPool.html#GST-BUFFER-POOL-OPTION-VIDEO-ALIGNMENT:CAPS" title="GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT"><span class="type">GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT</span></a>.</p>
<div class="refsect3">
<a name="GstVideoAlignment.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-top"></a>padding_top</code></em>;</p></td>
<td class="struct_member_description"><p>extra pixels on the top</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-bottom"></a>padding_bottom</code></em>;</p></td>
<td class="struct_member_description"><p>extra pixels on the bottom</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-left"></a>padding_left</code></em>;</p></td>
<td class="struct_member_description"><p>extra pixels on the left side</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.padding-right"></a>padding_right</code></em>;</p></td>
<td class="struct_member_description"><p>extra pixels on the right side</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoAlignment.stride-align"></a>stride_align</code></em>[GST_VIDEO_MAX_PLANES];</p></td>
<td class="struct_member_description"><p>array with extra alignment requirements for the strides</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-META-TAG-VIDEO-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_STR</h3>
<pre class="programlisting">#define GST_META_TAG_VIDEO_STR "video"
</pre>
<p>This metadata is relevant for video streams.</p>
<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-META-TAG-VIDEO-ORIENTATION-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_ORIENTATION_STR</h3>
<pre class="programlisting">#define GST_META_TAG_VIDEO_ORIENTATION_STR "orientation"
</pre>
<p>This metadata stays relevant as long as video orientation is unchanged.</p>
<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-META-TAG-VIDEO-SIZE-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_SIZE_STR</h3>
<pre class="programlisting">#define GST_META_TAG_VIDEO_SIZE_STR "size"
</pre>
<p>This metadata stays relevant as long as video size is unchanged.</p>
<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-META-TAG-VIDEO-COLORSPACE-STR:CAPS"></a><h3>GST_META_TAG_VIDEO_COLORSPACE_STR</h3>
<pre class="programlisting">#define GST_META_TAG_VIDEO_COLORSPACE_STR "colorspace"
</pre>
<p>This metadata stays relevant as long as video colorspace is unchanged.</p>
<p class="since">Since: <a class="link" href="ix14.html#api-index-1.2">1.2</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoOrientationMethod"></a><h3>enum GstVideoOrientationMethod</h3>
<p>The different video orientation methods.</p>
<div class="refsect3">
<a name="GstVideoOrientationMethod.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-IDENTITY:CAPS"></a>GST_VIDEO_ORIENTATION_IDENTITY</p></td>
<td class="enum_member_description">
<p>Identity (no rotation)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-90R:CAPS"></a>GST_VIDEO_ORIENTATION_90R</p></td>
<td class="enum_member_description">
<p>Rotate clockwise 90 degrees</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-180:CAPS"></a>GST_VIDEO_ORIENTATION_180</p></td>
<td class="enum_member_description">
<p>Rotate 180 degrees</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-90L:CAPS"></a>GST_VIDEO_ORIENTATION_90L</p></td>
<td class="enum_member_description">
<p>Rotate counter-clockwise 90 degrees</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-HORIZ:CAPS"></a>GST_VIDEO_ORIENTATION_HORIZ</p></td>
<td class="enum_member_description">
<p>Flip horizontally</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-VERT:CAPS"></a>GST_VIDEO_ORIENTATION_VERT</p></td>
<td class="enum_member_description">
<p>Flip vertically</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-UL-LR:CAPS"></a>GST_VIDEO_ORIENTATION_UL_LR</p></td>
<td class="enum_member_description">
<p>Flip across upper left/lower right diagonal</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-UR-LL:CAPS"></a>GST_VIDEO_ORIENTATION_UR_LL</p></td>
<td class="enum_member_description">
<p>Flip across upper right/lower left diagonal</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-AUTO:CAPS"></a>GST_VIDEO_ORIENTATION_AUTO</p></td>
<td class="enum_member_description">
<p>Select flip method based on image-orientation tag</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ORIENTATION-CUSTOM:CAPS"></a>GST_VIDEO_ORIENTATION_CUSTOM</p></td>
<td class="enum_member_description">
<p>Current status depends on plugin internal setup</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFormat"></a><h3>enum GstVideoFormat</h3>
<p>Enum value describing the most common video formats.</p>
<p>See the <a class="ulink" href="https://gstreamer.freedesktop.org/documentation/design/mediatype-video-raw.html#formats" target="_top">GStreamer raw video format design document</a>
for details about the layout and packing of these formats in memory.</p>
<div class="refsect3">
<a name="GstVideoFormat.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-UNKNOWN:CAPS"></a>GST_VIDEO_FORMAT_UNKNOWN</p></td>
<td class="enum_member_description">
<p>Unknown or unset video format id</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ENCODED:CAPS"></a>GST_VIDEO_FORMAT_ENCODED</p></td>
<td class="enum_member_description">
<p>Encoded video format. Only ever use that in caps for
                           special video formats in combination with non-system
                           memory GstCapsFeatures where it does not make sense
                           to specify a real video format.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420:CAPS"></a>GST_VIDEO_FORMAT_I420</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YV12:CAPS"></a>GST_VIDEO_FORMAT_YV12</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YVU (like I420 but UV planes swapped)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YUY2:CAPS"></a>GST_VIDEO_FORMAT_YUY2</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 YUV (Y0-U0-Y1-V0 Y2-U2-Y3-V2 Y4 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-UYVY:CAPS"></a>GST_VIDEO_FORMAT_UYVY</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-AYUV:CAPS"></a>GST_VIDEO_FORMAT_AYUV</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 YUV with alpha channel (A0-Y0-U0-V0 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGBx"></a>GST_VIDEO_FORMAT_RGBx</p></td>
<td class="enum_member_description">
<p>sparse rgb packed into 32 bit, space last</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGRx"></a>GST_VIDEO_FORMAT_BGRx</p></td>
<td class="enum_member_description">
<p>sparse reverse rgb packed into 32 bit, space last</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-xRGB"></a>GST_VIDEO_FORMAT_xRGB</p></td>
<td class="enum_member_description">
<p>sparse rgb packed into 32 bit, space first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-xBGR"></a>GST_VIDEO_FORMAT_xBGR</p></td>
<td class="enum_member_description">
<p>sparse reverse rgb packed into 32 bit, space first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGBA:CAPS"></a>GST_VIDEO_FORMAT_RGBA</p></td>
<td class="enum_member_description">
<p>rgb with alpha channel last</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGRA:CAPS"></a>GST_VIDEO_FORMAT_BGRA</p></td>
<td class="enum_member_description">
<p>reverse rgb with alpha channel last</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ARGB:CAPS"></a>GST_VIDEO_FORMAT_ARGB</p></td>
<td class="enum_member_description">
<p>rgb with alpha channel first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ABGR:CAPS"></a>GST_VIDEO_FORMAT_ABGR</p></td>
<td class="enum_member_description">
<p>reverse rgb with alpha channel first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB:CAPS"></a>GST_VIDEO_FORMAT_RGB</p></td>
<td class="enum_member_description">
<p>RGB packed into 24 bits without padding (<code class="literal">R-G-B-R-G-B</code>)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR:CAPS"></a>GST_VIDEO_FORMAT_BGR</p></td>
<td class="enum_member_description">
<p>reverse RGB packed into 24 bits without padding (<code class="literal">B-G-R-B-G-R</code>)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y41B:CAPS"></a>GST_VIDEO_FORMAT_Y41B</p></td>
<td class="enum_member_description">
<p>planar 4:1:1 YUV</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y42B:CAPS"></a>GST_VIDEO_FORMAT_Y42B</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YVYU:CAPS"></a>GST_VIDEO_FORMAT_YVYU</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 YUV (Y0-V0-Y1-U0 Y2-V2-Y3-U2 Y4 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444:CAPS"></a>GST_VIDEO_FORMAT_Y444</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 YUV</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-v210"></a>GST_VIDEO_FORMAT_v210</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 10-bit YUV, complex format</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-v216"></a>GST_VIDEO_FORMAT_v216</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 16-bit YUV, Y0-U0-Y1-V1 order</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12:CAPS"></a>GST_VIDEO_FORMAT_NV12</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV with interleaved UV plane</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV21:CAPS"></a>GST_VIDEO_FORMAT_NV21</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV with interleaved VU plane</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY8:CAPS"></a>GST_VIDEO_FORMAT_GRAY8</p></td>
<td class="enum_member_description">
<p>8-bit grayscale</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY16-BE:CAPS"></a>GST_VIDEO_FORMAT_GRAY16_BE</p></td>
<td class="enum_member_description">
<p>16-bit grayscale, most significant byte first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY16-LE:CAPS"></a>GST_VIDEO_FORMAT_GRAY16_LE</p></td>
<td class="enum_member_description">
<p>16-bit grayscale, least significant byte first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-v308"></a>GST_VIDEO_FORMAT_v308</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 YUV (Y-U-V ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB16:CAPS"></a>GST_VIDEO_FORMAT_RGB16</p></td>
<td class="enum_member_description">
<p>rgb 5-6-5 bits per component</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR16:CAPS"></a>GST_VIDEO_FORMAT_BGR16</p></td>
<td class="enum_member_description">
<p>reverse rgb 5-6-5 bits per component</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB15:CAPS"></a>GST_VIDEO_FORMAT_RGB15</p></td>
<td class="enum_member_description">
<p>rgb 5-5-5 bits per component</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR15:CAPS"></a>GST_VIDEO_FORMAT_BGR15</p></td>
<td class="enum_member_description">
<p>reverse rgb 5-5-5 bits per component</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-UYVP:CAPS"></a>GST_VIDEO_FORMAT_UYVP</p></td>
<td class="enum_member_description">
<p>packed 10-bit 4:2:2 YUV (U0-Y0-V0-Y1 U2-Y2-V2-Y3 U4 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A420:CAPS"></a>GST_VIDEO_FORMAT_A420</p></td>
<td class="enum_member_description">
<p>planar 4:4:2:0 AYUV</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-RGB8P:CAPS"></a>GST_VIDEO_FORMAT_RGB8P</p></td>
<td class="enum_member_description">
<p>8-bit paletted RGB</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YUV9:CAPS"></a>GST_VIDEO_FORMAT_YUV9</p></td>
<td class="enum_member_description">
<p>planar 4:1:0 YUV</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-YVU9:CAPS"></a>GST_VIDEO_FORMAT_YVU9</p></td>
<td class="enum_member_description">
<p>planar 4:1:0 YUV (like YUV9 but UV planes swapped)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-IYU1:CAPS"></a>GST_VIDEO_FORMAT_IYU1</p></td>
<td class="enum_member_description">
<p>packed 4:1:1 YUV (Cb-Y0-Y1-Cr-Y2-Y3 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-ARGB64:CAPS"></a>GST_VIDEO_FORMAT_ARGB64</p></td>
<td class="enum_member_description">
<p>rgb with alpha channel first, 16 bits per channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-AYUV64:CAPS"></a>GST_VIDEO_FORMAT_AYUV64</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 YUV with alpha channel, 16 bits per channel (A0-Y0-U0-V0 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-r210"></a>GST_VIDEO_FORMAT_r210</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 RGB, 10 bits per channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-10BE:CAPS"></a>GST_VIDEO_FORMAT_I420_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV, 10 bits per channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-10LE:CAPS"></a>GST_VIDEO_FORMAT_I420_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV, 10 bits per channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-10BE:CAPS"></a>GST_VIDEO_FORMAT_I422_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV, 10 bits per channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-10LE:CAPS"></a>GST_VIDEO_FORMAT_I422_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV, 10 bits per channel</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-10BE:CAPS"></a>GST_VIDEO_FORMAT_Y444_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 YUV, 10 bits per channel (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-10LE:CAPS"></a>GST_VIDEO_FORMAT_Y444_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 YUV, 10 bits per channel (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR:CAPS"></a>GST_VIDEO_FORMAT_GBR</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 RGB, 8 bits per channel (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-10BE:CAPS"></a>GST_VIDEO_FORMAT_GBR_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 RGB, 10 bits per channel (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-10LE:CAPS"></a>GST_VIDEO_FORMAT_GBR_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 RGB, 10 bits per channel (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV16:CAPS"></a>GST_VIDEO_FORMAT_NV16</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV with interleaved UV plane (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV24:CAPS"></a>GST_VIDEO_FORMAT_NV24</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 YUV with interleaved UV plane (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12-64Z32:CAPS"></a>GST_VIDEO_FORMAT_NV12_64Z32</p></td>
<td class="enum_member_description">
<p>NV12 with 64x32 tiling in zigzag pattern (Since: 1.4)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A420-10BE:CAPS"></a>GST_VIDEO_FORMAT_A420_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:2:0 YUV, 10 bits per channel (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A420-10LE:CAPS"></a>GST_VIDEO_FORMAT_A420_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:2:0 YUV, 10 bits per channel (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A422-10BE:CAPS"></a>GST_VIDEO_FORMAT_A422_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:2:2 YUV, 10 bits per channel (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A422-10LE:CAPS"></a>GST_VIDEO_FORMAT_A422_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:2:2 YUV, 10 bits per channel (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A444-10BE:CAPS"></a>GST_VIDEO_FORMAT_A444_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 YUV, 10 bits per channel (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-A444-10LE:CAPS"></a>GST_VIDEO_FORMAT_A444_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 YUV, 10 bits per channel (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV61:CAPS"></a>GST_VIDEO_FORMAT_NV61</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV with interleaved VU plane (Since: 1.6)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-P010-10BE:CAPS"></a>GST_VIDEO_FORMAT_P010_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel (Since: 1.10)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-P010-10LE:CAPS"></a>GST_VIDEO_FORMAT_P010_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV with interleaved UV plane, 10 bits per channel (Since: 1.10)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-IYU2:CAPS"></a>GST_VIDEO_FORMAT_IYU2</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 YUV (U-Y-V ...) (Since: 1.10)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-VYUY:CAPS"></a>GST_VIDEO_FORMAT_VYUY</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 YUV (V0-Y0-U0-Y1 V2-Y2-U2-Y3 V4 ...)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA:CAPS"></a>GST_VIDEO_FORMAT_GBRA</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 ARGB, 8 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-10BE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_10BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 ARGB, 10 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-10LE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_10LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 ARGB, 10 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-12BE:CAPS"></a>GST_VIDEO_FORMAT_GBR_12BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 RGB, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBR-12LE:CAPS"></a>GST_VIDEO_FORMAT_GBR_12LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 RGB, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-12BE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_12BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 ARGB, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GBRA-12LE:CAPS"></a>GST_VIDEO_FORMAT_GBRA_12LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4:4 ARGB, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-12BE:CAPS"></a>GST_VIDEO_FORMAT_I420_12BE</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I420-12LE:CAPS"></a>GST_VIDEO_FORMAT_I420_12LE</p></td>
<td class="enum_member_description">
<p>planar 4:2:0 YUV, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-12BE:CAPS"></a>GST_VIDEO_FORMAT_I422_12BE</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-I422-12LE:CAPS"></a>GST_VIDEO_FORMAT_I422_12LE</p></td>
<td class="enum_member_description">
<p>planar 4:2:2 YUV, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-12BE:CAPS"></a>GST_VIDEO_FORMAT_Y444_12BE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 YUV, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y444-12LE:CAPS"></a>GST_VIDEO_FORMAT_Y444_12LE</p></td>
<td class="enum_member_description">
<p>planar 4:4:4 YUV, 12 bits per channel (Since: 1.12)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-GRAY10-LE32:CAPS"></a>GST_VIDEO_FORMAT_GRAY10_LE32</p></td>
<td class="enum_member_description">
<p>10-bit grayscale, packed into 32bit words (2 bits padding) (Since: 1.14)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12-10LE32:CAPS"></a>GST_VIDEO_FORMAT_NV12_10LE32</p></td>
<td class="enum_member_description">
<p>10-bit variant of <em class="parameter"><code>GST_VIDEO_FORMAT_NV12</code></em>
, packed into 32bit words (MSB 2 bits padding) (Since: 1.14)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV16-10LE32:CAPS"></a>GST_VIDEO_FORMAT_NV16_10LE32</p></td>
<td class="enum_member_description">
<p>10-bit variant of <em class="parameter"><code>GST_VIDEO_FORMAT_NV16</code></em>
, packed into 32bit words (MSB 2 bits padding) (Since: 1.14)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-NV12-10LE40:CAPS"></a>GST_VIDEO_FORMAT_NV12_10LE40</p></td>
<td class="enum_member_description">
<p>Fully packed variant of NV12_10LE32 (Since: 1.16)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y210:CAPS"></a>GST_VIDEO_FORMAT_Y210</p></td>
<td class="enum_member_description">
<p>packed 4:2:2 YUV, 10 bits per channel (Since: 1.16)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-Y410:CAPS"></a>GST_VIDEO_FORMAT_Y410</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 YUV, 10 bits per channel(A-V-Y-U...) (Since: 1.16)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-VUYA:CAPS"></a>GST_VIDEO_FORMAT_VUYA</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 YUV with alpha channel (V0-U0-Y0-A0...) (Since: 1.16)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-BGR10A2-LE:CAPS"></a>GST_VIDEO_FORMAT_BGR10A2_LE</p></td>
<td class="enum_member_description">
<p>packed 4:4:4 RGB with alpha channel(B-G-R-A), 10 bits for R/G/B channel and MSB 2 bits for alpha channel (Since: 1.16)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-MAX-PLANES:CAPS"></a><h3>GST_VIDEO_MAX_PLANES</h3>
<pre class="programlisting">#define GST_VIDEO_MAX_PLANES 4
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-MAX-COMPONENTS:CAPS"></a><h3>GST_VIDEO_MAX_COMPONENTS</h3>
<pre class="programlisting">#define GST_VIDEO_MAX_COMPONENTS 4
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFormatInfo"></a><h3>struct GstVideoFormatInfo</h3>
<pre class="programlisting">struct GstVideoFormatInfo {
  GstVideoFormat format;
  const gchar *name;
  const gchar *description;
  GstVideoFormatFlags flags;
  guint bits;
  guint n_components;
  guint shift[GST_VIDEO_MAX_COMPONENTS];
  guint depth[GST_VIDEO_MAX_COMPONENTS];
  gint  pixel_stride[GST_VIDEO_MAX_COMPONENTS];
  guint n_planes;
  guint plane[GST_VIDEO_MAX_COMPONENTS];
  guint poffset[GST_VIDEO_MAX_COMPONENTS];
  guint w_sub[GST_VIDEO_MAX_COMPONENTS];
  guint h_sub[GST_VIDEO_MAX_COMPONENTS];

  GstVideoFormat unpack_format;
  GstVideoFormatUnpack unpack_func;
  gint pack_lines;
  GstVideoFormatPack pack_func;

  GstVideoTileMode tile_mode;
  guint tile_ws;
  guint tile_hs;
};
</pre>
<p>Information for a video format.</p>
<div class="refsect3">
<a name="GstVideoFormatInfo.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.format"></a>format</code></em>;</p></td>
<td class="struct_member_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstVideoFormatInfo.name"></a>name</code></em>;</p></td>
<td class="struct_member_description"><p>string representation of the format</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *<em class="structfield"><code><a name="GstVideoFormatInfo.description"></a>description</code></em>;</p></td>
<td class="struct_member_description"><p>use readable description of the format</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatFlags" title="enum GstVideoFormatFlags"><span class="type">GstVideoFormatFlags</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatFlags" title="enum GstVideoFormatFlags"><span class="type">GstVideoFormatFlags</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.bits"></a>bits</code></em>;</p></td>
<td class="struct_member_description"><p>The number of bits used to pack data items. This can be less than 8
when multiple pixels are stored in a byte. for values &gt; 8 multiple bytes
should be read according to the endianness flag before applying the shift
and mask.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.n-components"></a>n_components</code></em>;</p></td>
<td class="struct_member_description"><p>the number of components in the video format.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.shift"></a>shift</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>the number of bits to shift away to get the component data</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.depth"></a>depth</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>the depth in bits for each component</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.pixel-stride"></a>pixel_stride</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>the pixel stride of each component. This is the amount of
bytes to the pixel immediately to the right. When bits &lt; 8, the stride is
expressed in bits. For 24-bit RGB, this would be 3 bytes, for example,
while it would be 4 bytes for RGBx or ARGB.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.n-planes"></a>n_planes</code></em>;</p></td>
<td class="struct_member_description"><p>the number of planes for this format. The number of planes can be
less than the amount of components when multiple components are packed into
one plane.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.plane"></a>plane</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>the plane number where a component can be found</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.poffset"></a>poffset</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>the offset in the plane where the first pixel of the components
can be found.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.w-sub"></a>w_sub</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>subsampling factor of the width for the component. Use
GST_VIDEO_SUB_SCALE to scale a width.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.h-sub"></a>h_sub</code></em>[GST_VIDEO_MAX_COMPONENTS];</p></td>
<td class="struct_member_description"><p>subsampling factor of the height for the component. Use
GST_VIDEO_SUB_SCALE to scale a height.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormat" title="enum GstVideoFormat"><span class="type">GstVideoFormat</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.unpack-format"></a>unpack_format</code></em>;</p></td>
<td class="struct_member_description"><p>the format of the unpacked pixels. This format must have the
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-FORMAT-FLAG-UNPACK:CAPS"><span class="type">GST_VIDEO_FORMAT_FLAG_UNPACK</span></a> flag set.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatUnpack" title="GstVideoFormatUnpack ()"><span class="type">GstVideoFormatUnpack</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.unpack-func"></a>unpack_func</code></em>;</p></td>
<td class="struct_member_description"><p>an unpack function for this format</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.pack-lines"></a>pack_lines</code></em>;</p></td>
<td class="struct_member_description"><p>the amount of lines that will be packed</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatPack" title="GstVideoFormatPack ()"><span class="type">GstVideoFormatPack</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.pack-func"></a>pack_func</code></em>;</p></td>
<td class="struct_member_description"><p>an pack function for this format</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTileMode" title="enum GstVideoTileMode"><span class="type">GstVideoTileMode</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.tile-mode"></a>tile_mode</code></em>;</p></td>
<td class="struct_member_description"><p>The tiling mode</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.tile-ws"></a>tile_ws</code></em>;</p></td>
<td class="struct_member_description"><p>The width of a tile, in bytes, represented as a shift</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoFormatInfo.tile-hs"></a>tile_hs</code></em>;</p></td>
<td class="struct_member_description"><p>The height of a tile, in bytes, represented as a shift</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFormatFlags"></a><h3>enum GstVideoFormatFlags</h3>
<p>The different video flags that a format info can have.</p>
<div class="refsect3">
<a name="GstVideoFormatFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-YUV:CAPS"></a>GST_VIDEO_FORMAT_FLAG_YUV</p></td>
<td class="enum_member_description">
<p>The video format is YUV, components are numbered
  0=Y, 1=U, 2=V.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-RGB:CAPS"></a>GST_VIDEO_FORMAT_FLAG_RGB</p></td>
<td class="enum_member_description">
<p>The video format is RGB, components are numbered
  0=R, 1=G, 2=B.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-GRAY:CAPS"></a>GST_VIDEO_FORMAT_FLAG_GRAY</p></td>
<td class="enum_member_description">
<p>The video is gray, there is one gray component
  with index 0.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-ALPHA:CAPS"></a>GST_VIDEO_FORMAT_FLAG_ALPHA</p></td>
<td class="enum_member_description">
<p>The video format has an alpha components with
  the number 3.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-LE:CAPS"></a>GST_VIDEO_FORMAT_FLAG_LE</p></td>
<td class="enum_member_description">
<p>The video format has data stored in little
  endianness.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-PALETTE:CAPS"></a>GST_VIDEO_FORMAT_FLAG_PALETTE</p></td>
<td class="enum_member_description">
<p>The video format has a palette. The palette
  is stored in the second plane and indexes are stored in the first plane.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-COMPLEX:CAPS"></a>GST_VIDEO_FORMAT_FLAG_COMPLEX</p></td>
<td class="enum_member_description">
<p>The video format has a complex layout that
  can't be described with the usual information in the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a>.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-UNPACK:CAPS"></a>GST_VIDEO_FORMAT_FLAG_UNPACK</p></td>
<td class="enum_member_description">
<p>This format can be used in a
  <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatUnpack" title="GstVideoFormatUnpack ()"><span class="type">GstVideoFormatUnpack</span></a> and <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatPack" title="GstVideoFormatPack ()"><span class="type">GstVideoFormatPack</span></a> function.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FORMAT-FLAG-TILED:CAPS"></a>GST_VIDEO_FORMAT_FLAG_TILED</p></td>
<td class="enum_member_description">
<p>The format is tiled, there is tiling information
  in the last plane.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoPackFlags"></a><h3>enum GstVideoPackFlags</h3>
<p>The different flags that can be used when packing and unpacking.</p>
<div class="refsect3">
<a name="GstVideoPackFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-PACK-FLAG-NONE:CAPS"></a>GST_VIDEO_PACK_FLAG_NONE</p></td>
<td class="enum_member_description">
<p>No flag</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-PACK-FLAG-TRUNCATE-RANGE:CAPS"></a>GST_VIDEO_PACK_FLAG_TRUNCATE_RANGE</p></td>
<td class="enum_member_description">
<p>When the source has a smaller depth
  than the target format, set the least significant bits of the target
  to 0. This is likely sightly faster but less accurate. When this flag
  is not specified, the most significant bits of the source are duplicated
  in the least significant bits of the destination.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-PACK-FLAG-INTERLACED:CAPS"></a>GST_VIDEO_PACK_FLAG_INTERLACED</p></td>
<td class="enum_member_description">
<p>The source is interlaced. The unpacked
  format will be interlaced as well with each line containing
  information from alternating fields. (Since: 1.2)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-SIZE-RANGE:CAPS"></a><h3>GST_VIDEO_SIZE_RANGE</h3>
<pre class="programlisting">#define GST_VIDEO_SIZE_RANGE "(int) [ 1, max ]"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FPS-RANGE:CAPS"></a><h3>GST_VIDEO_FPS_RANGE</h3>
<pre class="programlisting">#define GST_VIDEO_FPS_RANGE "(fraction) [ 0, max ]"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-FORMATS-ALL:CAPS"></a><h3>GST_VIDEO_FORMATS_ALL</h3>
<pre class="programlisting">#define             GST_VIDEO_FORMATS_ALL</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-CAPS-FEATURE-FORMAT-INTERLACED:CAPS"></a><h3>GST_CAPS_FEATURE_FORMAT_INTERLACED</h3>
<pre class="programlisting">#define GST_CAPS_FEATURE_FORMAT_INTERLACED "format:Interlaced"
</pre>
<p>Name of the caps feature indicating that the stream is interlaced. Currently
it is only used for video.</p>
<p class="since">Since: 1.16.</p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoColorRange"></a><h3>enum GstVideoColorRange</h3>
<p>Possible color range values. These constants are defined for 8 bit color
values and can be scaled for other bit depths.</p>
<div class="refsect3">
<a name="GstVideoColorRange.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-RANGE-UNKNOWN:CAPS"></a>GST_VIDEO_COLOR_RANGE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown range</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-RANGE-0-255:CAPS"></a>GST_VIDEO_COLOR_RANGE_0_255</p></td>
<td class="enum_member_description">
<p>[0..255] for 8 bit components</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-RANGE-16-235:CAPS"></a>GST_VIDEO_COLOR_RANGE_16_235</p></td>
<td class="enum_member_description">
<p>[16..235] for 8 bit components. Chroma has
                [16..240] range.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoColorMatrix"></a><h3>enum GstVideoColorMatrix</h3>
<p>The color matrix is used to convert between Y'PbPr and
non-linear RGB (R'G'B')</p>
<div class="refsect3">
<a name="GstVideoColorMatrix.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-UNKNOWN:CAPS"></a>GST_VIDEO_COLOR_MATRIX_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown matrix</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-RGB:CAPS"></a>GST_VIDEO_COLOR_MATRIX_RGB</p></td>
<td class="enum_member_description">
<p>identity matrix</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-FCC:CAPS"></a>GST_VIDEO_COLOR_MATRIX_FCC</p></td>
<td class="enum_member_description">
<p>FCC color matrix</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-BT709:CAPS"></a>GST_VIDEO_COLOR_MATRIX_BT709</p></td>
<td class="enum_member_description">
<p>ITU-R BT.709 color matrix</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-BT601:CAPS"></a>GST_VIDEO_COLOR_MATRIX_BT601</p></td>
<td class="enum_member_description">
<p>ITU-R BT.601 color matrix</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-SMPTE240M:CAPS"></a>GST_VIDEO_COLOR_MATRIX_SMPTE240M</p></td>
<td class="enum_member_description">
<p>SMPTE 240M color matrix</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-MATRIX-BT2020:CAPS"></a>GST_VIDEO_COLOR_MATRIX_BT2020</p></td>
<td class="enum_member_description">
<p>ITU-R BT.2020 color matrix. Since: 1.6</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoColorPrimaries"></a><h3>enum GstVideoColorPrimaries</h3>
<p>The color primaries define the how to transform linear RGB values to and from
the CIE XYZ colorspace.</p>
<div class="refsect3">
<a name="GstVideoColorPrimaries.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-UNKNOWN:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown color primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT709:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT709</p></td>
<td class="enum_member_description">
<p>BT709 primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT470M:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT470M</p></td>
<td class="enum_member_description">
<p>BT470M primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT470BG:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT470BG</p></td>
<td class="enum_member_description">
<p>BT470BG primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTE170M:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTE170M</p></td>
<td class="enum_member_description">
<p>SMPTE170M primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTE240M:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTE240M</p></td>
<td class="enum_member_description">
<p>SMPTE240M primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-FILM:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_FILM</p></td>
<td class="enum_member_description">
<p>Generic film</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-BT2020:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_BT2020</p></td>
<td class="enum_member_description">
<p>BT2020 primaries. Since: 1.6</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-ADOBERGB:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_ADOBERGB</p></td>
<td class="enum_member_description">
<p>Adobe RGB primaries. Since: 1.8</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTEST428:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTEST428</p></td>
<td class="enum_member_description">
<p>SMPTE ST 428 primaries. Since: 1.16</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTERP431:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTERP431</p></td>
<td class="enum_member_description">
<p>SMPTE RP 431 primaries. Since: 1.16</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-SMPTEEG432:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_SMPTEEG432</p></td>
<td class="enum_member_description">
<p>SMPTE EG 432 primaries. Since: 1.16</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-COLOR-PRIMARIES-EBU3213:CAPS"></a>GST_VIDEO_COLOR_PRIMARIES_EBU3213</p></td>
<td class="enum_member_description">
<p>EBU 3213 primaries. Since: 1.16</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTransferFunction"></a><h3>enum GstVideoTransferFunction</h3>
<p>The video transfer function defines the formula for converting between
non-linear RGB (R'G'B') and linear RGB</p>
<div class="refsect3">
<a name="GstVideoTransferFunction.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-UNKNOWN:CAPS"></a>GST_VIDEO_TRANSFER_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown transfer function</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA10:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA10</p></td>
<td class="enum_member_description">
<p>linear RGB, gamma 1.0 curve</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA18:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA18</p></td>
<td class="enum_member_description">
<p>Gamma 1.8 curve</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA20:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA20</p></td>
<td class="enum_member_description">
<p>Gamma 2.0 curve</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA22:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA22</p></td>
<td class="enum_member_description">
<p>Gamma 2.2 curve</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-BT709:CAPS"></a>GST_VIDEO_TRANSFER_BT709</p></td>
<td class="enum_member_description">
<p>Gamma 2.2 curve with a linear segment in the lower
                          range</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-SMPTE240M:CAPS"></a>GST_VIDEO_TRANSFER_SMPTE240M</p></td>
<td class="enum_member_description">
<p>Gamma 2.2 curve with a linear segment in the
                              lower range</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-SRGB:CAPS"></a>GST_VIDEO_TRANSFER_SRGB</p></td>
<td class="enum_member_description">
<p>Gamma 2.4 curve with a linear segment in the lower
                         range</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-GAMMA28:CAPS"></a>GST_VIDEO_TRANSFER_GAMMA28</p></td>
<td class="enum_member_description">
<p>Gamma 2.8 curve</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-LOG100:CAPS"></a>GST_VIDEO_TRANSFER_LOG100</p></td>
<td class="enum_member_description">
<p>Logarithmic transfer characteristic
                            100:1 range</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-LOG316:CAPS"></a>GST_VIDEO_TRANSFER_LOG316</p></td>
<td class="enum_member_description">
<p>Logarithmic transfer characteristic
                            316.22777:1 range</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-BT2020-12:CAPS"></a>GST_VIDEO_TRANSFER_BT2020_12</p></td>
<td class="enum_member_description">
<p>Gamma 2.2 curve with a linear segment in the lower
                               range. Used for BT.2020 with 12 bits per
                               component. Since: 1.6</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TRANSFER-ADOBERGB:CAPS"></a>GST_VIDEO_TRANSFER_ADOBERGB</p></td>
<td class="enum_member_description">
<p>Gamma 2.19921875. Since: 1.8</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoColorPrimariesInfo"></a><h3>GstVideoColorPrimariesInfo</h3>
<pre class="programlisting">typedef struct {
  GstVideoColorPrimaries primaries;
  gdouble Wx, Wy;
  gdouble Rx, Ry;
  gdouble Gx, Gy;
  gdouble Bx, By;
} GstVideoColorPrimariesInfo;
</pre>
<p>Structure describing the chromaticity coordinates of an RGB system. These
values can be used to construct a matrix to transform RGB to and from the
XYZ colorspace.</p>
<div class="refsect3">
<a name="GstVideoColorPrimariesInfo.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.primaries"></a>primaries</code></em>;</p></td>
<td class="struct_member_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Wx"></a>Wx</code></em>;</p></td>
<td class="struct_member_description"><p>reference white x coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Wy"></a>Wy</code></em>;</p></td>
<td class="struct_member_description"><p>reference white y coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Rx"></a>Rx</code></em>;</p></td>
<td class="struct_member_description"><p>red x coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Ry"></a>Ry</code></em>;</p></td>
<td class="struct_member_description"><p>red y coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Gx"></a>Gx</code></em>;</p></td>
<td class="struct_member_description"><p>green x coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Gy"></a>Gy</code></em>;</p></td>
<td class="struct_member_description"><p>green y coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.Bx"></a>Bx</code></em>;</p></td>
<td class="struct_member_description"><p>blue x coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> <em class="structfield"><code><a name="GstVideoColorPrimariesInfo.By"></a>By</code></em>;</p></td>
<td class="struct_member_description"><p>blue y coordinate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoColorimetry"></a><h3>GstVideoColorimetry</h3>
<pre class="programlisting">typedef struct {
  GstVideoColorRange        range;
  GstVideoColorMatrix       matrix;
  GstVideoTransferFunction  transfer;
  GstVideoColorPrimaries    primaries;
} GstVideoColorimetry;
</pre>
<p>Structure describing the color info.</p>
<div class="refsect3">
<a name="GstVideoColorimetry.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorRange" title="enum GstVideoColorRange"><span class="type">GstVideoColorRange</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.range"></a>range</code></em>;</p></td>
<td class="struct_member_description"><p>the color range. This is the valid range for the samples.
It is used to convert the samples to Y'PbPr values.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorMatrix" title="enum GstVideoColorMatrix"><span class="type">GstVideoColorMatrix</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.matrix"></a>matrix</code></em>;</p></td>
<td class="struct_member_description"><p>the color matrix. Used to convert between Y'PbPr and
non-linear RGB (R'G'B')</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTransferFunction" title="enum GstVideoTransferFunction"><span class="type">GstVideoTransferFunction</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.transfer"></a>transfer</code></em>;</p></td>
<td class="struct_member_description"><p>the transfer function. used to convert between R'G'B' and RGB</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorPrimaries" title="enum GstVideoColorPrimaries"><span class="type">GstVideoColorPrimaries</span></a> <em class="structfield"><code><a name="GstVideoColorimetry.primaries"></a>primaries</code></em>;</p></td>
<td class="struct_member_description"><p>color primaries. used to convert between R'G'B' and CIE XYZ</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-COLORIMETRY-BT2020:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_BT2020</h3>
<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_BT2020      "bt2020"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-COLORIMETRY-BT601:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_BT601</h3>
<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_BT601       "bt601"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-COLORIMETRY-BT709:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_BT709</h3>
<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_BT709       "bt709"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-COLORIMETRY-SMPTE240M:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_SMPTE240M</h3>
<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_SMPTE240M   "smpte240m"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-COLORIMETRY-SRGB:CAPS"></a><h3>GST_VIDEO_COLORIMETRY_SRGB</h3>
<pre class="programlisting">#define GST_VIDEO_COLORIMETRY_SRGB        "sRGB"
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoInfo"></a><h3>struct GstVideoInfo</h3>
<pre class="programlisting">struct GstVideoInfo {
  const GstVideoFormatInfo *finfo;

  GstVideoInterlaceMode     interlace_mode;
  GstVideoFlags             flags;
  gint                      width;
  gint                      height;
  gsize                     size;
  gint                      views;

  GstVideoChromaSite        chroma_site;
  GstVideoColorimetry       colorimetry;

  gint                      par_n;
  gint                      par_d;
  gint                      fps_n;
  gint                      fps_d;

  gsize                     offset[GST_VIDEO_MAX_PLANES];
  gint                      stride[GST_VIDEO_MAX_PLANES];

  /* Union preserves padded struct size for backwards compat
   * Consumer code should use the accessor macros for fields */
  union {
    struct {
      GstVideoMultiviewMode     multiview_mode;
      GstVideoMultiviewFlags    multiview_flags;
      GstVideoFieldOrder        field_order;
    } abi;
};
</pre>
<p>Information describing image properties. This information can be filled
in from GstCaps with <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-info-from-caps" title="gst_video_info_from_caps ()"><code class="function">gst_video_info_from_caps()</code></a>. The information is also used
to store the specific video info when mapping a video frame with
<a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a>.</p>
<p>Use the provided macros to access the info in this structure.</p>
<div class="refsect3">
<a name="GstVideoInfo.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p>const <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFormatInfo" title="struct GstVideoFormatInfo"><span class="type">GstVideoFormatInfo</span></a> *<em class="structfield"><code><a name="GstVideoInfo.finfo"></a>finfo</code></em>;</p></td>
<td class="struct_member_description"><p>the format info of the video</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> <em class="structfield"><code><a name="GstVideoInfo.interlace-mode"></a>interlace_mode</code></em>;</p></td>
<td class="struct_member_description"><p>the interlace mode</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFlags" title="enum GstVideoFlags"><span class="type">GstVideoFlags</span></a> <em class="structfield"><code><a name="GstVideoInfo.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_description"><p>additional video flags</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.width"></a>width</code></em>;</p></td>
<td class="struct_member_description"><p>the width of the video</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.height"></a>height</code></em>;</p></td>
<td class="struct_member_description"><p>the height of the video</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GstVideoInfo.size"></a>size</code></em>;</p></td>
<td class="struct_member_description"><p>the default size of one frame</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.views"></a>views</code></em>;</p></td>
<td class="struct_member_description"><p>the number of views for multiview video</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideoChroma.html#GstVideoChromaSite" title="enum GstVideoChromaSite"><span class="type">GstVideoChromaSite</span></a> <em class="structfield"><code><a name="GstVideoInfo.chroma-site"></a>chroma_site</code></em>;</p></td>
<td class="struct_member_description"><p>a <a class="link" href="gst-plugins-base-libs-GstVideoChroma.html#GstVideoChromaSite" title="enum GstVideoChromaSite"><span class="type">GstVideoChromaSite</span></a>.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoColorimetry" title="GstVideoColorimetry"><span class="type">GstVideoColorimetry</span></a> <em class="structfield"><code><a name="GstVideoInfo.colorimetry"></a>colorimetry</code></em>;</p></td>
<td class="struct_member_description"><p>the colorimetry info</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.par-n"></a>par_n</code></em>;</p></td>
<td class="struct_member_description"><p>the pixel-aspect-ratio numerator</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.par-d"></a>par_d</code></em>;</p></td>
<td class="struct_member_description"><p>the pixel-aspect-ratio demnominator</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.fps-n"></a>fps_n</code></em>;</p></td>
<td class="struct_member_description"><p>the framerate numerator</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.fps-d"></a>fps_d</code></em>;</p></td>
<td class="struct_member_description"><p>the framerate demnominator</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gsize"><span class="type">gsize</span></a> <em class="structfield"><code><a name="GstVideoInfo.offset"></a>offset</code></em>[GST_VIDEO_MAX_PLANES];</p></td>
<td class="struct_member_description"><p>offsets of the planes</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoInfo.stride"></a>stride</code></em>[GST_VIDEO_MAX_PLANES];</p></td>
<td class="struct_member_description"><p>strides of the planes</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoInterlaceMode"></a><h3>enum GstVideoInterlaceMode</h3>
<p>The possible values of the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInterlaceMode" title="enum GstVideoInterlaceMode"><span class="type">GstVideoInterlaceMode</span></a> describing the interlace
mode of the stream.</p>
<div class="refsect3">
<a name="GstVideoInterlaceMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-PROGRESSIVE:CAPS"></a>GST_VIDEO_INTERLACE_MODE_PROGRESSIVE</p></td>
<td class="enum_member_description">
<p>all frames are progressive</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-INTERLEAVED:CAPS"></a>GST_VIDEO_INTERLACE_MODE_INTERLEAVED</p></td>
<td class="enum_member_description">
<p>2 fields are interleaved in one video
    frame. Extra buffer flags describe the field order.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-MIXED:CAPS"></a>GST_VIDEO_INTERLACE_MODE_MIXED</p></td>
<td class="enum_member_description">
<p>frames contains both interlaced and
    progressive video, the buffer flags describe the frame and fields.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-FIELDS:CAPS"></a>GST_VIDEO_INTERLACE_MODE_FIELDS</p></td>
<td class="enum_member_description">
<p>2 fields are stored in one buffer, use the
    frame ID to get access to the required field. For multiview (the
    'views' property &gt; 1) the fields of view N can be found at frame ID
    (N * 2) and (N * 2) + 1.
    Each field has only half the amount of lines as noted in the
    height property. This mode requires multiple GstVideoMeta metadata
    to describe the fields.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-INTERLACE-MODE-ALTERNATE:CAPS"></a>GST_VIDEO_INTERLACE_MODE_ALTERNATE</p></td>
<td class="enum_member_description">
<p>1 field is stored in one buffer,
    <em class="parameter"><code>GST_VIDEO_BUFFER_FLAG_TF</code></em>
 or <em class="parameter"><code>GST_VIDEO_BUFFER_FLAG_BF</code></em>
 indicates if
    the buffer is carrying the top or bottom field, respectively. The top and
    bottom buffers are expected to alternate in the pipeline, with this mode
    (Since: 1.16).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFieldOrder"></a><h3>enum GstVideoFieldOrder</h3>
<p>Field order of interlaced content. This is only valid for
interlace-mode=interleaved and not interlace-mode=mixed. In the case of
mixed or GST_VIDEO_FIELD_ORDER_UNKOWN, the field order is signalled via
buffer flags.</p>
<div class="refsect3">
<a name="GstVideoFieldOrder.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FIELD-ORDER-UNKNOWN:CAPS"></a>GST_VIDEO_FIELD_ORDER_UNKNOWN</p></td>
<td class="enum_member_description">
<p>unknown field order for interlaced content.
    The actual field order is signalled via buffer flags.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FIELD-ORDER-TOP-FIELD-FIRST:CAPS"></a>GST_VIDEO_FIELD_ORDER_TOP_FIELD_FIRST</p></td>
<td class="enum_member_description">
<p>top field is first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FIELD-ORDER-BOTTOM-FIELD-FIRST:CAPS"></a>GST_VIDEO_FIELD_ORDER_BOTTOM_FIELD_FIRST</p></td>
<td class="enum_member_description">
<p>bottom field is first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFlags"></a><h3>enum GstVideoFlags</h3>
<p>Extra video flags</p>
<div class="refsect3">
<a name="GstVideoFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FLAG-NONE:CAPS"></a>GST_VIDEO_FLAG_NONE</p></td>
<td class="enum_member_description">
<p>no flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FLAG-VARIABLE-FPS:CAPS"></a>GST_VIDEO_FLAG_VARIABLE_FPS</p></td>
<td class="enum_member_description">
<p>a variable fps is selected, fps_n and fps_d
    denote the maximum fps of the video</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FLAG-PREMULTIPLIED-ALPHA:CAPS"></a>GST_VIDEO_FLAG_PREMULTIPLIED_ALPHA</p></td>
<td class="enum_member_description">
<p>Each color has been scaled by the alpha
    value.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFrame"></a><h3>struct GstVideoFrame</h3>
<pre class="programlisting">struct GstVideoFrame {
  GstVideoInfo info;
  GstVideoFrameFlags flags;

  GstBuffer *buffer;
  gpointer   meta;
  gint       id;

  gpointer   data[GST_VIDEO_MAX_PLANES];
  GstMapInfo map[GST_VIDEO_MAX_PLANES];
};
</pre>
<p>A video frame obtained from <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a></p>
<div class="refsect3">
<a name="GstVideoFrame.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a> <em class="structfield"><code><a name="GstVideoFrame.info"></a>info</code></em>;</p></td>
<td class="struct_member_description"><p>the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoInfo" title="struct GstVideoInfo"><span class="type">GstVideoInfo</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameFlags" title="enum GstVideoFrameFlags"><span class="type">GstVideoFrameFlags</span></a> <em class="structfield"><code><a name="GstVideoFrame.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_description"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoFrameFlags" title="enum GstVideoFrameFlags"><span class="type">GstVideoFrameFlags</span></a> for the frame</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> *<em class="structfield"><code><a name="GstVideoFrame.buffer"></a>buffer</code></em>;</p></td>
<td class="struct_member_description"><p>the mapped buffer</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GstVideoFrame.meta"></a>meta</code></em>;</p></td>
<td class="struct_member_description"><p>pointer to metadata if any</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> <em class="structfield"><code><a name="GstVideoFrame.id"></a>id</code></em>;</p></td>
<td class="struct_member_description"><p>id of the mapped frame. the id can for example be used to
indentify the frame in case of multiview video.</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> <em class="structfield"><code><a name="GstVideoFrame.data"></a>data</code></em>[GST_VIDEO_MAX_PLANES];</p></td>
<td class="struct_member_description"><p>pointers to the plane data</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMapInfo"><span class="type">GstMapInfo</span></a> <em class="structfield"><code><a name="GstVideoFrame.map"></a>map</code></em>[GST_VIDEO_MAX_PLANES];</p></td>
<td class="struct_member_description"><p>mappings of the planes</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFrameFlags"></a><h3>enum GstVideoFrameFlags</h3>
<p>Extra video frame flags</p>
<div class="refsect3">
<a name="GstVideoFrameFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-NONE:CAPS"></a>GST_VIDEO_FRAME_FLAG_NONE</p></td>
<td class="enum_member_description">
<p>no flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-INTERLACED:CAPS"></a>GST_VIDEO_FRAME_FLAG_INTERLACED</p></td>
<td class="enum_member_description">
<p>The video frame is interlaced. In mixed
          interlace-mode, this flag specifies if the frame is interlaced or
          progressive.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-TFF:CAPS"></a>GST_VIDEO_FRAME_FLAG_TFF</p></td>
<td class="enum_member_description">
<p>The video frame has the top field first</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-RFF:CAPS"></a>GST_VIDEO_FRAME_FLAG_RFF</p></td>
<td class="enum_member_description">
<p>The video frame has the repeat flag</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-ONEFIELD:CAPS"></a>GST_VIDEO_FRAME_FLAG_ONEFIELD</p></td>
<td class="enum_member_description">
<p>The video frame has one field</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-MULTIPLE-VIEW:CAPS"></a>GST_VIDEO_FRAME_FLAG_MULTIPLE_VIEW</p></td>
<td class="enum_member_description">
<p>The video contains one or
    more non-mono views</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-FIRST-IN-BUNDLE:CAPS"></a>GST_VIDEO_FRAME_FLAG_FIRST_IN_BUNDLE</p></td>
<td class="enum_member_description">
<p>The video frame is the first
    in a set of corresponding views provided as sequential frames.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-TOP-FIELD:CAPS"></a>GST_VIDEO_FRAME_FLAG_TOP_FIELD</p></td>
<td class="enum_member_description">
<p>The video frame has the top field only. This
    is the same as GST_VIDEO_FRAME_FLAG_TFF | GST_VIDEO_FRAME_FLAG_ONEFIELD
    (Since: 1.16).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-FLAG-BOTTOM-FIELD:CAPS"></a>GST_VIDEO_FRAME_FLAG_BOTTOM_FIELD</p></td>
<td class="enum_member_description">
<p>The video frame has the bottom field
    only. This is the same as GST_VIDEO_FRAME_FLAG_ONEFIELD
    (GST_VIDEO_FRAME_FLAG_TFF flag unset) (Since: 1.16).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoFrameMapFlags"></a><h3>enum GstVideoFrameMapFlags</h3>
<p>Additional mapping flags for <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-frame-map" title="gst_video_frame_map ()"><code class="function">gst_video_frame_map()</code></a>.</p>
<div class="refsect3">
<a name="GstVideoFrameMapFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-MAP-FLAG-NO-REF:CAPS"></a>GST_VIDEO_FRAME_MAP_FLAG_NO_REF</p></td>
<td class="enum_member_description">
<p>Don't take another reference of the buffer and store it in
                                   the GstVideoFrame. This makes sure that the buffer stays
                                   writable while the frame is mapped, but requires that the
                                   buffer reference stays valid until the frame is unmapped again.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-FRAME-MAP-FLAG-LAST:CAPS"></a>GST_VIDEO_FRAME_MAP_FLAG_LAST</p></td>
<td class="enum_member_description">
<p>Offset to define more flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoBufferFlags"></a><h3>enum GstVideoBufferFlags</h3>
<p>Additional video buffer flags. These flags can potentially be used on any
buffers carrying video data - even encoded data.</p>
<p>Note that these are only valid for <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstCaps.html#GstCaps-struct"><span class="type">GstCaps</span></a> of type: video/...
They can conflict with other extended buffer flags.</p>
<div class="refsect3">
<a name="GstVideoBufferFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-INTERLACED:CAPS"></a>GST_VIDEO_BUFFER_FLAG_INTERLACED</p></td>
<td class="enum_member_description">
<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced. In mixed
                                    interlace-mode, this flags specifies if the frame is
                                    interlaced or progressive.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-TFF:CAPS"></a>GST_VIDEO_BUFFER_FLAG_TFF</p></td>
<td class="enum_member_description">
<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced, then the first field
                                    in the video frame is the top field.  If unset, the
                                    bottom field is first.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-RFF:CAPS"></a>GST_VIDEO_BUFFER_FLAG_RFF</p></td>
<td class="enum_member_description">
<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced, then the first field
                                    (as defined by the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-BUFFER-FLAG-TFF:CAPS"><code class="literal">GST_VIDEO_BUFFER_FLAG_TFF</code></a> flag setting)
                                    is repeated.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-ONEFIELD:CAPS"></a>GST_VIDEO_BUFFER_FLAG_ONEFIELD</p></td>
<td class="enum_member_description">
<p>If the <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> is interlaced, then only the
                                    first field (as defined by the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-BUFFER-FLAG-TFF:CAPS"><code class="literal">GST_VIDEO_BUFFER_FLAG_TFF</code></a>
                                    flag setting) is to be displayed (Since: 1.16).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-MULTIPLE-VIEW:CAPS"></a>GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW</p></td>
<td class="enum_member_description">
<p>The <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a> contains one or more specific views,
                                    such as left or right eye view. This flags is set on
                                    any buffer that contains non-mono content - even for
                                    streams that contain only a single viewpoint. In mixed
                                    mono / non-mono streams, the absense of the flag marks
                                    mono buffers.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-FIRST-IN-BUNDLE:CAPS"></a>GST_VIDEO_BUFFER_FLAG_FIRST_IN_BUNDLE</p></td>
<td class="enum_member_description">
<p>When conveying stereo/multiview content with
                                    frame-by-frame methods, this flag marks the first buffer
                                     in a bundle of frames that belong together.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-TOP-FIELD:CAPS"></a>GST_VIDEO_BUFFER_FLAG_TOP_FIELD</p></td>
<td class="enum_member_description">
<p>The video frame has the top field only. This is the
                                    same as GST_VIDEO_BUFFER_FLAG_TFF |
                                    GST_VIDEO_BUFFER_FLAG_ONEFIELD (Since: 1.16).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-BOTTOM-FIELD:CAPS"></a>GST_VIDEO_BUFFER_FLAG_BOTTOM_FIELD</p></td>
<td class="enum_member_description">
<p>The video frame has the bottom field only. This is
                                    the same as GST_VIDEO_BUFFER_FLAG_ONEFIELD
                                    (GST_VIDEO_BUFFER_FLAG_TFF flag unset) (Since: 1.16).</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-BUFFER-FLAG-LAST:CAPS"></a>GST_VIDEO_BUFFER_FLAG_LAST</p></td>
<td class="enum_member_description">
<p>Offset to define more flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTileType"></a><h3>enum GstVideoTileType</h3>
<p>Enum value describing the most common tiling types.</p>
<div class="refsect3">
<a name="GstVideoTileType.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody><tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TILE-TYPE-INDEXED:CAPS"></a>GST_VIDEO_TILE_TYPE_INDEXED</p></td>
<td class="enum_member_description">
<p>Tiles are indexed. Use
  <a class="link" href="gst-plugins-base-libs-GstVideo.html#gst-video-tile-get-index" title="gst_video_tile_get_index ()"><code class="function">gst_video_tile_get_index()</code></a> to retrieve the tile at the requested
  coordinates.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTileMode"></a><h3>enum GstVideoTileMode</h3>
<p>Enum value describing the available tiling modes.</p>
<div class="refsect3">
<a name="GstVideoTileMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TILE-MODE-UNKNOWN:CAPS"></a>GST_VIDEO_TILE_MODE_UNKNOWN</p></td>
<td class="enum_member_description">
<p>Unknown or unset tile mode</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TILE-MODE-ZFLIPZ-2X2:CAPS"></a>GST_VIDEO_TILE_MODE_ZFLIPZ_2X2</p></td>
<td class="enum_member_description">
<p>Every four adjacent blocks - two
   horizontally and two vertically are grouped together and are located
   in memory in Z or flipped Z order. In case of odd rows, the last row
   of blocks is arranged in linear order.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-TYPE-MASK:CAPS"></a><h3>GST_VIDEO_TILE_TYPE_MASK</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_TYPE_MASK      ((1 &lt;&lt; GST_VIDEO_TILE_TYPE_SHIFT) - 1)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-TYPE-SHIFT:CAPS"></a><h3>GST_VIDEO_TILE_TYPE_SHIFT</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_TYPE_SHIFT     (16)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-X-TILES-MASK:CAPS"></a><h3>GST_VIDEO_TILE_X_TILES_MASK</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_X_TILES_MASK      ((1 &lt;&lt; GST_VIDEO_TILE_Y_TILES_SHIFT) - 1)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TILE-Y-TILES-SHIFT:CAPS"></a><h3>GST_VIDEO_TILE_Y_TILES_SHIFT</h3>
<pre class="programlisting">#define GST_VIDEO_TILE_Y_TILES_SHIFT     (16)
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoConverter"></a><h3>GstVideoConverter</h3>
<pre class="programlisting">typedef struct _GstVideoConverter GstVideoConverter;</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoAlphaMode"></a><h3>enum GstVideoAlphaMode</h3>
<p>Different alpha modes.</p>
<div class="refsect3">
<a name="GstVideoAlphaMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ALPHA-MODE-COPY:CAPS"></a>GST_VIDEO_ALPHA_MODE_COPY</p></td>
<td class="enum_member_description">
<p>When input and output have alpha, it will be copied.
        When the input has no alpha, alpha will be set to
        <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ALPHA-MODE-SET:CAPS"></a>GST_VIDEO_ALPHA_MODE_SET</p></td>
<td class="enum_member_description">
<p>set all alpha to
   <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-ALPHA-MODE-MULT:CAPS"></a>GST_VIDEO_ALPHA_MODE_MULT</p></td>
<td class="enum_member_description">
<p>multiply all alpha with
        <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a>.
        When the input format has no alpha but the output format has, the
        alpha value will be set to <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS" title="GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE"><span class="type">GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</span></a></p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoChromaMode"></a><h3>enum GstVideoChromaMode</h3>
<p>Different chroma downsampling and upsampling modes</p>
<div class="refsect3">
<a name="GstVideoChromaMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-FULL:CAPS"></a>GST_VIDEO_CHROMA_MODE_FULL</p></td>
<td class="enum_member_description">
<p>do full chroma up and down sampling</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-UPSAMPLE-ONLY:CAPS"></a>GST_VIDEO_CHROMA_MODE_UPSAMPLE_ONLY</p></td>
<td class="enum_member_description">
<p>only perform chroma upsampling</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-DOWNSAMPLE-ONLY:CAPS"></a>GST_VIDEO_CHROMA_MODE_DOWNSAMPLE_ONLY</p></td>
<td class="enum_member_description">
<p>only perform chroma downsampling</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-CHROMA-MODE-NONE:CAPS"></a>GST_VIDEO_CHROMA_MODE_NONE</p></td>
<td class="enum_member_description">
<p>disable chroma resampling</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoGammaMode"></a><h3>enum GstVideoGammaMode</h3>
<div class="refsect3">
<a name="GstVideoGammaMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-GAMMA-MODE-NONE:CAPS"></a>GST_VIDEO_GAMMA_MODE_NONE</p></td>
<td class="enum_member_description">
<p>disable gamma handling</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-GAMMA-MODE-REMAP:CAPS"></a>GST_VIDEO_GAMMA_MODE_REMAP</p></td>
<td class="enum_member_description">
<p>convert between input and output gamma
Different gamma conversion modes</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoMatrixMode"></a><h3>enum GstVideoMatrixMode</h3>
<p>Different color matrix conversion modes</p>
<div class="refsect3">
<a name="GstVideoMatrixMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-FULL:CAPS"></a>GST_VIDEO_MATRIX_MODE_FULL</p></td>
<td class="enum_member_description">
<p>do conversion between color matrices</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-INPUT-ONLY:CAPS"></a>GST_VIDEO_MATRIX_MODE_INPUT_ONLY</p></td>
<td class="enum_member_description">
<p>use the input color matrix to convert
  to and from R'G'B</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-OUTPUT-ONLY:CAPS"></a>GST_VIDEO_MATRIX_MODE_OUTPUT_ONLY</p></td>
<td class="enum_member_description">
<p>use the output color matrix to convert
  to and from R'G'B</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MATRIX-MODE-NONE:CAPS"></a>GST_VIDEO_MATRIX_MODE_NONE</p></td>
<td class="enum_member_description">
<p>disable color matrix conversion.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoPrimariesMode"></a><h3>enum GstVideoPrimariesMode</h3>
<p>Different primaries conversion modes</p>
<div class="refsect3">
<a name="GstVideoPrimariesMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-PRIMARIES-MODE-NONE:CAPS"></a>GST_VIDEO_PRIMARIES_MODE_NONE</p></td>
<td class="enum_member_description">
<p>disable conversion between primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-PRIMARIES-MODE-MERGE-ONLY:CAPS"></a>GST_VIDEO_PRIMARIES_MODE_MERGE_ONLY</p></td>
<td class="enum_member_description">
<p>do conversion between primaries only
  when it can be merged with color matrix conversion.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-PRIMARIES-MODE-FAST:CAPS"></a>GST_VIDEO_PRIMARIES_MODE_FAST</p></td>
<td class="enum_member_description">
<p>fast conversion between primaries</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix10.html#api-index-1.6">1.6</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-ALPHA-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_ALPHA_MODE</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_ALPHA_MODE   "GstVideoConverter.alpha-mode"
</pre>
<p><span class="type">GST_TYPE_VIDEO_ALPHA_MODE</span>, the alpha mode to use.
Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-ALPHA-MODE-COPY:CAPS"><span class="type">GST_VIDEO_ALPHA_MODE_COPY</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-ALPHA-VALUE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_ALPHA_VALUE   "GstVideoConverter.alpha-value"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-DOUBLE:CAPS"><span class="type">G_TYPE_DOUBLE</span></a>, the alpha color value to use.
Default to 1.0</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-BORDER-ARGB:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_BORDER_ARGB</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_BORDER_ARGB   "GstVideoConverter.border-argb"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, the border color to use if <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-FILL-BORDER:CAPS" title="GST_VIDEO_CONVERTER_OPT_FILL_BORDER"><span class="type">GST_VIDEO_CONVERTER_OPT_FILL_BORDER</span></a>
is set to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>. The color is in ARGB format.
Default 0xff000000</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-CHROMA-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_CHROMA_MODE</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_CHROMA_MODE   "GstVideoConverter.chroma-mode"
</pre>
<p><span class="type">GST_TYPE_VIDEO_CHROMA_MODE</span>, set the chroma resample mode subsampled
formats. Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CHROMA-MODE-FULL:CAPS"><span class="type">GST_VIDEO_CHROMA_MODE_FULL</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-CHROMA-RESAMPLER-METHOD:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_CHROMA_RESAMPLER_METHOD   "GstVideoConverter.chroma-resampler-method"
</pre>
<p><span class="type">GST_TYPE_VIDEO_RESAMPLER_METHOD</span>, The resampler method to use for
chroma resampling. Other options for the resampler can be used, see
the <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GstVideoResampler" title="struct GstVideoResampler"><span class="type">GstVideoResampler</span></a>. Default is <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GST-VIDEO-RESAMPLER-METHOD-LINEAR:CAPS"><span class="type">GST_VIDEO_RESAMPLER_METHOD_LINEAR</span></a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-DEST-HEIGHT:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_HEIGHT   "GstVideoConverter.dest-height"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, height in the destination frame, default destination height</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-DEST-WIDTH:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_WIDTH</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_WIDTH   "GstVideoConverter.dest-width"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, width in the destination frame, default destination width</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-DEST-X:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_X</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_X   "GstVideoConverter.dest-x"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, x position in the destination frame, default 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-DEST-Y:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DEST_Y</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DEST_Y   "GstVideoConverter.dest-y"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, y position in the destination frame, default 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-DITHER-METHOD:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DITHER_METHOD</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DITHER_METHOD   "GstVideoConverter.dither-method"
</pre>
<p><span class="type">GST_TYPE_VIDEO_DITHER_METHOD</span>, The dither method to use when
changing bit depth.
Default is <a class="link" href="gst-plugins-base-libs-GstVideoDither.html#GST-VIDEO-DITHER-BAYER:CAPS"><span class="type">GST_VIDEO_DITHER_BAYER</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-DITHER-QUANTIZATION:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_DITHER_QUANTIZATION   "GstVideoConverter.dither-quantization"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, The quantization amount to dither to. Components will be
quantized to multiples of this value.
Default is 1</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-FILL-BORDER:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_FILL_BORDER</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_FILL_BORDER   "GstVideoConverter.fill-border"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-BOOLEAN:CAPS"><span class="type">G_TYPE_BOOLEAN</span></a>, if the destination rectangle does not fill the complete
destination image, render a border with
<a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-CONVERTER-OPT-BORDER-ARGB:CAPS" title="GST_VIDEO_CONVERTER_OPT_BORDER_ARGB"><span class="type">GST_VIDEO_CONVERTER_OPT_BORDER_ARGB</span></a>. Otherwise the unusded pixels in the
destination are untouched. Default <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-GAMMA-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_GAMMA_MODE</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_GAMMA_MODE   "GstVideoConverter.gamma-mode"
</pre>
<p><span class="type">GST_TYPE_VIDEO_GAMMA_MODE</span>, set the gamma mode.
Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-GAMMA-MODE-NONE:CAPS"><span class="type">GST_VIDEO_GAMMA_MODE_NONE</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-MATRIX-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_MATRIX_MODE</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_MATRIX_MODE   "GstVideoConverter.matrix-mode"
</pre>
<p><span class="type">GST_TYPE_VIDEO_MATRIX_MODE</span>, set the color matrix conversion mode for
converting between Y'PbPr and non-linear RGB (R'G'B').
Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-MATRIX-MODE-FULL:CAPS"><span class="type">GST_VIDEO_MATRIX_MODE_FULL</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-PRIMARIES-MODE:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_PRIMARIES_MODE   "GstVideoConverter.primaries-mode"
</pre>
<p><span class="type">GST_TYPE_VIDEO_PRIMARIES_MODE</span>, set the primaries conversion mode.
Default is <a class="link" href="gst-plugins-base-libs-GstVideo.html#GST-VIDEO-PRIMARIES-MODE-NONE:CAPS"><span class="type">GST_VIDEO_PRIMARIES_MODE_NONE</span></a>.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-RESAMPLER-METHOD:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_RESAMPLER_METHOD   "GstVideoConverter.resampler-method"
</pre>
<p><span class="type">GST_TYPE_VIDEO_RESAMPLER_METHOD</span>, The resampler method to use for
resampling. Other options for the resampler can be used, see
the <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GstVideoResampler" title="struct GstVideoResampler"><span class="type">GstVideoResampler</span></a>. Default is <a class="link" href="gst-plugins-base-libs-GstVideoResampler.html#GST-VIDEO-RESAMPLER-METHOD-CUBIC:CAPS"><span class="type">GST_VIDEO_RESAMPLER_METHOD_CUBIC</span></a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-RESAMPLER-TAPS:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_RESAMPLER_TAPS   "GstVideoConverter.resampler-taps"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, The number of taps for the resampler.
Default is 0: let the resampler choose a good value.</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-SRC-HEIGHT:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_HEIGHT   "GstVideoConverter.src-height"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source height to convert, default source height</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-SRC-WIDTH:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_WIDTH</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_WIDTH   "GstVideoConverter.src-width"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source width to convert, default source width</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-SRC-X:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_X</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_X   "GstVideoConverter.src-x"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source x position to start conversion, default 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-SRC-Y:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_SRC_Y</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_SRC_Y   "GstVideoConverter.src-y"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-INT:CAPS"><span class="type">G_TYPE_INT</span></a>, source y position to start conversion, default 0</p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-CONVERTER-OPT-THREADS:CAPS"></a><h3>GST_VIDEO_CONVERTER_OPT_THREADS</h3>
<pre class="programlisting">#define GST_VIDEO_CONVERTER_OPT_THREADS   "GstVideoConverter.threads"
</pre>
<p><a href="/usr/share/gtk-doc/html/gobject/gobject-Type-Information.html#G-TYPE-UINT:CAPS"><span class="type">G_TYPE_UINT</span></a>, maximum number of threads to use. Default 1, 0 for the number
of cores.</p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoMultiviewMode"></a><h3>enum GstVideoMultiviewMode</h3>
<p>All possible stereoscopic 3D and multiview representations.
In conjunction with <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFlags" title="enum GstVideoMultiviewFlags"><span class="type">GstVideoMultiviewFlags</span></a>, describes how
multiview content is being transported in the stream.</p>
<div class="refsect3">
<a name="GstVideoMultiviewMode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-NONE:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_NONE</p></td>
<td class="enum_member_description">
<p>A special value indicating
no multiview information. Used in GstVideoInfo and other places to
indicate that no specific multiview handling has been requested or
provided. This value is never carried on caps.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-MONO:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_MONO</p></td>
<td class="enum_member_description">
<p>All frames are monoscopic.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-LEFT:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_LEFT</p></td>
<td class="enum_member_description">
<p>All frames represent a left-eye view.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-RIGHT:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_RIGHT</p></td>
<td class="enum_member_description">
<p>All frames represent a right-eye view.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-SIDE-BY-SIDE:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE</p></td>
<td class="enum_member_description">
<p>Left and right eye views are
provided in the left and right half of the frame respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-SIDE-BY-SIDE-QUINCUNX:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_SIDE_BY_SIDE_QUINCUNX</p></td>
<td class="enum_member_description">
<p>Left and right eye
views are provided in the left and right half of the frame, but
have been sampled using quincunx method, with half-pixel offset
between the 2 views.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-COLUMN-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_COLUMN_INTERLEAVED</p></td>
<td class="enum_member_description">
<p>Alternating vertical
columns of pixels represent the left and right eye view respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-ROW-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_ROW_INTERLEAVED</p></td>
<td class="enum_member_description">
<p>Alternating horizontal
rows of pixels represent the left and right eye view respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-TOP-BOTTOM:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_TOP_BOTTOM</p></td>
<td class="enum_member_description">
<p>The top half of the frame
contains the left eye, and the bottom half the right eye.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-CHECKERBOARD:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_CHECKERBOARD</p></td>
<td class="enum_member_description">
<p>Pixels are arranged with
alternating pixels representing left and right eye views in a
checkerboard fashion.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-FRAME-BY-FRAME:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_FRAME_BY_FRAME</p></td>
<td class="enum_member_description">
<p>Left and right eye views
are provided in separate frames alternately.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-MULTIVIEW-FRAME-BY-FRAME:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_MULTIVIEW_FRAME_BY_FRAME</p></td>
<td class="enum_member_description">
<p>Multiple
independent views are provided in separate frames in sequence.
This method only applies to raw video buffers at the moment.
Specific view identification is via the <span class="type">GstVideoMultiviewMeta</span>
and <a class="link" href="gst-plugins-base-libs-GstMeta-for-video.html#GstVideoMeta" title="struct GstVideoMeta"><span class="type">GstVideoMeta</span></a>(s) on raw video buffers.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-MODE-SEPARATED:CAPS"></a>GST_VIDEO_MULTIVIEW_MODE_SEPARATED</p></td>
<td class="enum_member_description">
<p>Multiple views are
provided as separate <a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstMemory.html#GstMemory-struct"><span class="type">GstMemory</span></a> framebuffers attached to each
<a href="/usr/share/gtk-doc/html/gstreamer-1.0/GstBuffer.html#GstBuffer-struct"><span class="type">GstBuffer</span></a>, described by the <span class="type">GstVideoMultiviewMeta</span>
and <a class="link" href="gst-plugins-base-libs-GstMeta-for-video.html#GstVideoMeta" title="struct GstVideoMeta"><span class="type">GstVideoMeta</span></a>(s)</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoMultiviewFramePacking"></a><h3>enum GstVideoMultiviewFramePacking</h3>
<p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewFramePacking" title="enum GstVideoMultiviewFramePacking"><span class="type">GstVideoMultiviewFramePacking</span></a> represents the subset of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a>
values that can be applied to any video frame without needing extra metadata.
It can be used by elements that provide a property to override the
multiview interpretation of a video stream when the video doesn't contain
any markers.</p>
<p>This enum is used (for example) on playbin, to re-interpret a played
video stream as a stereoscopic video. The individual enum values are
equivalent to and have the same value as the matching <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a>.</p>
<div class="refsect3">
<a name="GstVideoMultiviewFramePacking.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-NONE:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_NONE</p></td>
<td class="enum_member_description">
<p>A special value indicating
no frame packing info.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-MONO:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_MONO</p></td>
<td class="enum_member_description">
<p>All frames are monoscopic.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-LEFT:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_LEFT</p></td>
<td class="enum_member_description">
<p>All frames represent a left-eye view.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-RIGHT:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_RIGHT</p></td>
<td class="enum_member_description">
<p>All frames represent a right-eye view.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-SIDE-BY-SIDE:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE</p></td>
<td class="enum_member_description">
<p>Left and right eye views are
provided in the left and right half of the frame respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-SIDE-BY-SIDE-QUINCUNX:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_SIDE_BY_SIDE_QUINCUNX</p></td>
<td class="enum_member_description">
<p>Left and right eye
views are provided in the left and right half of the frame, but
have been sampled using quincunx method, with half-pixel offset
between the 2 views.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-COLUMN-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_COLUMN_INTERLEAVED</p></td>
<td class="enum_member_description">
<p>Alternating vertical
columns of pixels represent the left and right eye view respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-ROW-INTERLEAVED:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_ROW_INTERLEAVED</p></td>
<td class="enum_member_description">
<p>Alternating horizontal
rows of pixels represent the left and right eye view respectively.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-TOP-BOTTOM:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_TOP_BOTTOM</p></td>
<td class="enum_member_description">
<p>The top half of the frame
contains the left eye, and the bottom half the right eye.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FRAME-PACKING-CHECKERBOARD:CAPS"></a>GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD</p></td>
<td class="enum_member_description">
<p>Pixels are arranged with
alternating pixels representing left and right eye views in a
checkerboard fashion.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoMultiviewFlags"></a><h3>enum GstVideoMultiviewFlags</h3>
<p>GstVideoMultiviewFlags are used to indicate extra properties of a
stereo/multiview stream beyond the frame layout and buffer mapping
that is conveyed in the <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoMultiviewMode" title="enum GstVideoMultiviewMode"><span class="type">GstVideoMultiviewMode</span></a>.</p>
<div class="refsect3">
<a name="GstVideoMultiviewFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-NONE:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_NONE</p></td>
<td class="enum_member_description">
<p>No flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-RIGHT-VIEW-FIRST:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_VIEW_FIRST</p></td>
<td class="enum_member_description">
<p>For stereo streams, the
    normal arrangement of left and right views is reversed.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-LEFT-FLIPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLIPPED</p></td>
<td class="enum_member_description">
<p>The left view is vertically
    mirrored.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-LEFT-FLOPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_LEFT_FLOPPED</p></td>
<td class="enum_member_description">
<p>The left view is horizontally
    mirrored.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-RIGHT-FLIPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLIPPED</p></td>
<td class="enum_member_description">
<p>The right view is
    vertically mirrored.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-RIGHT-FLOPPED:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_RIGHT_FLOPPED</p></td>
<td class="enum_member_description">
<p>The right view is
    horizontally mirrored.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-HALF-ASPECT:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_HALF_ASPECT</p></td>
<td class="enum_member_description">
<p>For frame-packed
    multiview modes, indicates that the individual
    views have been encoded with half the true width or height
    and should be scaled back up for display. This flag
    is used for overriding input layout interpretation
    by adjusting pixel-aspect-ratio.
    For side-by-side, column interleaved or checkerboard packings, the
    pixel width will be doubled. For row interleaved and top-bottom
    encodings, pixel height will be doubled.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-MULTIVIEW-FLAGS-MIXED-MONO:CAPS"></a>GST_VIDEO_MULTIVIEW_FLAGS_MIXED_MONO</p></td>
<td class="enum_member_description">
<p>The video stream contains both
    mono and multiview portions, signalled on each buffer by the
    absence or presence of the <em class="parameter"><code>GST_VIDEO_BUFFER_FLAG_MULTIPLE_VIEW</code></em>

    buffer flag.</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-MULTIVIEW-MAX-FRAME-PACKING:CAPS"></a><h3>GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING</h3>
<pre class="programlisting">#define GST_VIDEO_MULTIVIEW_MAX_FRAME_PACKING GST_VIDEO_MULTIVIEW_FRAME_PACKING_CHECKERBOARD
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTimeCode"></a><h3>struct GstVideoTimeCode</h3>
<pre class="programlisting">struct GstVideoTimeCode {
  GstVideoTimeCodeConfig config;

  guint hours;
  guint minutes;
  guint seconds;
  guint frames;
  guint field_count;
};
</pre>
<p><em class="parameter"><code>field_count</code></em>
 must be 0 for progressive video and 1 or 2 for interlaced.</p>
<p>A representation of a SMPTE time code.</p>
<p><em class="parameter"><code>hours</code></em>
 must be positive and less than 24. Will wrap around otherwise.
<em class="parameter"><code>minutes</code></em>
 and <em class="parameter"><code>seconds</code></em>
 must be positive and less than 60.
<em class="parameter"><code>frames</code></em>
 must be less than or equal to <em class="parameter"><code>config.fps_n</code></em>
 / <em class="parameter"><code>config.fps_d</code></em>

These values are *NOT* automatically normalized.</p>
<div class="refsect3">
<a name="GstVideoTimeCode.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeConfig" title="struct GstVideoTimeCodeConfig"><span class="type">GstVideoTimeCodeConfig</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.config"></a>config</code></em>;</p></td>
<td class="struct_member_description"><p>the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeConfig" title="struct GstVideoTimeCodeConfig"><span class="type">GstVideoTimeCodeConfig</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.hours"></a>hours</code></em>;</p></td>
<td class="struct_member_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.minutes"></a>minutes</code></em>;</p></td>
<td class="struct_member_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.seconds"></a>seconds</code></em>;</p></td>
<td class="struct_member_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.frames"></a>frames</code></em>;</p></td>
<td class="struct_member_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCode.field-count"></a>field_count</code></em>;</p></td>
<td class="struct_member_description"><p>Interlaced video field count</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTimeCodeConfig"></a><h3>struct GstVideoTimeCodeConfig</h3>
<pre class="programlisting">struct GstVideoTimeCodeConfig {
  guint fps_n;
  guint fps_d;
  GstVideoTimeCodeFlags flags;
  GDateTime *latest_daily_jam;
};
</pre>
<p>Supported frame rates: 30000/1001, 60000/1001 (both with and without drop
frame), and integer frame rates e.g. 25/1, 30/1, 50/1, 60/1.</p>
<p>The configuration of the time code.</p>
<div class="refsect3">
<a name="GstVideoTimeCodeConfig.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeConfig.fps-n"></a>fps_n</code></em>;</p></td>
<td class="struct_member_description"><p>Numerator of the frame rate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeConfig.fps-d"></a>fps_d</code></em>;</p></td>
<td class="struct_member_description"><p>Denominator of the frame rate</p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeConfig.flags"></a>flags</code></em>;</p></td>
<td class="struct_member_description"><p>the corresponding <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeFlags" title="enum GstVideoTimeCodeFlags"><span class="type">GstVideoTimeCodeFlags</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-GDateTime.html#GDateTime"><span class="type">GDateTime</span></a> *<em class="structfield"><code><a name="GstVideoTimeCodeConfig.latest-daily-jam"></a>latest_daily_jam</code></em>;</p></td>
<td class="struct_member_description"><p>The latest daily jam information, if present, or NULL</p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTimeCodeFlags"></a><h3>enum GstVideoTimeCodeFlags</h3>
<p>Flags related to the time code information.
For drop frame, only 30000/1001 and 60000/1001 frame rates are supported.</p>
<div class="refsect3">
<a name="GstVideoTimeCodeFlags.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="enum_members_name">
<col class="enum_members_description">
<col width="200px" class="enum_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TIME-CODE-FLAGS-NONE:CAPS"></a>GST_VIDEO_TIME_CODE_FLAGS_NONE</p></td>
<td class="enum_member_description">
<p>No flags</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TIME-CODE-FLAGS-DROP-FRAME:CAPS"></a>GST_VIDEO_TIME_CODE_FLAGS_DROP_FRAME</p></td>
<td class="enum_member_description">
<p>Whether we have drop frame rate</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
<tr>
<td class="enum_member_name"><p><a name="GST-VIDEO-TIME-CODE-FLAGS-INTERLACED:CAPS"></a>GST_VIDEO_TIME_CODE_FLAGS_INTERLACED</p></td>
<td class="enum_member_description">
<p>Whether we have interlaced video</p>
</td>
<td class="enum_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix06.html#api-index-1.10">1.10</a></p>
</div>
<hr>
<div class="refsect2">
<a name="GST-VIDEO-TIME-CODE-INIT:CAPS"></a><h3>GST_VIDEO_TIME_CODE_INIT</h3>
<pre class="programlisting">#define GST_VIDEO_TIME_CODE_INIT { {0, 0, 0, NULL}, 0, 0, 0, 0, 0 }
</pre>
</div>
<hr>
<div class="refsect2">
<a name="GstVideoTimeCodeInterval"></a><h3>struct GstVideoTimeCodeInterval</h3>
<pre class="programlisting">struct GstVideoTimeCodeInterval {
  guint hours;
  guint minutes;
  guint seconds;
  guint frames;
};
</pre>
<p>A representation of a difference between two <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCode" title="struct GstVideoTimeCode"><span class="type">GstVideoTimeCode</span></a> instances.
Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)</p>
<div class="refsect3">
<a name="GstVideoTimeCodeInterval.members"></a><h4>Members</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="300px" class="struct_members_name">
<col class="struct_members_description">
<col width="200px" class="struct_members_annotations">
</colgroup>
<tbody>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.hours"></a>hours</code></em>;</p></td>
<td class="struct_member_description"><p>the hours field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.minutes"></a>minutes</code></em>;</p></td>
<td class="struct_member_description"><p>the minutes field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.seconds"></a>seconds</code></em>;</p></td>
<td class="struct_member_description"><p>the seconds field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
<tr>
<td class="struct_member_name"><p><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#guint"><span class="type">guint</span></a> <em class="structfield"><code><a name="GstVideoTimeCodeInterval.frames"></a>frames</code></em>;</p></td>
<td class="struct_member_description"><p>the frames field of <a class="link" href="gst-plugins-base-libs-GstVideo.html#GstVideoTimeCodeInterval" title="struct GstVideoTimeCodeInterval"><span class="type">GstVideoTimeCodeInterval</span></a></p></td>
<td class="struct_member_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: <a class="link" href="ix05.html#api-index-1.12">1.12</a></p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.28</div>
</body>
</html>